mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/ivi: Free custom blk_vlc
Fixes memleak Fixes: 1351/clusterfuzz-testcase-minimized-5861971645693952 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a8ad83b793
commit
12dea8a5a1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue