summaryrefslogtreecommitdiff
path: root/libavcodec/ivi.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ivi.c')
-rw-r--r--libavcodec/ivi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/ivi.c b/libavcodec/ivi.c
index c02addf6f1..866f066862 100644
--- a/libavcodec/ivi.c
+++ b/libavcodec/ivi.c
@@ -1206,6 +1206,9 @@ av_cold int ff_ivi_decode_close(AVCodecContext *avctx)
if (ctx->mb_vlc.cust_tab.table)
ff_free_vlc(&ctx->mb_vlc.cust_tab);
+ if (ctx->blk_vlc.cust_tab.table)
+ ff_free_vlc(&ctx->blk_vlc.cust_tab);
+
av_frame_free(&ctx->p_frame);
return 0;