summaryrefslogtreecommitdiff
path: root/libavcodec/cfhd.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-03 18:02:17 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-05 14:28:13 +0200
commit9e9c99366a9606bbcdfc805b1631dac006df28b2 (patch)
treed8f36b0bd3c3c9842b850ca4702ac720e72705c5 /libavcodec/cfhd.c
parent320c36d9c77cfeb9d9ec4cb856400546aba45eba (diff)
avcodec/cfhd, cfhddata: Free VLC as soon as it is not needed
The VLC is only used to initialize RL VLC. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/cfhd.c')
-rw-r--r--libavcodec/cfhd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 90b3d0a850..c23eb069c6 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -1404,9 +1404,6 @@ static av_cold int cfhd_close(AVCodecContext *avctx)
free_buffers(s);
- ff_free_vlc(&s->vlc_9);
- ff_free_vlc(&s->vlc_18);
-
return 0;
}