summaryrefslogtreecommitdiff
path: root/libavcodec/cfhd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cfhd.c')
-rw-r--r--libavcodec/cfhd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index b4d6b25cbc..7956367b49 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -1039,10 +1039,8 @@ static av_cold int cfhd_close(AVCodecContext *avctx)
free_buffers(s);
- if (!avctx->internal->is_copy) {
- ff_free_vlc(&s->vlc_9);
- ff_free_vlc(&s->vlc_18);
- }
+ ff_free_vlc(&s->vlc_9);
+ ff_free_vlc(&s->vlc_18);
return 0;
}