mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
avcodec/vp3: Fix several memleaks
Fixes: 1536b9b096a8f95b742bae9d3d761cc6/signal_sigsegv_294aaed_4460_b209bd1e7cebe458b53072a44191316d.ogg Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
6105b7219a
commit
861f2b2a53
@ -2025,6 +2025,7 @@ static int vp3_decode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
return ret;
|
||||
} else if (type == 2) {
|
||||
vp3_decode_end(avctx);
|
||||
ret = theora_decode_tables(avctx, &gb);
|
||||
if (ret >= 0)
|
||||
ret = vp3_decode_init(avctx);
|
||||
|
Loading…
Reference in New Issue
Block a user