[FFmpeg-cvslog] avcodec/vp3: Fix several memleaks

Michael Niedermayer git at videolan.org
Sat Nov 28 01:39:29 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Nov 28 01:00:54 2015 +0100| [861f2b2a536b4bdc97cd4f4f14fcb08b957fe690] | committer: Michael Niedermayer

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 at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=861f2b2a536b4bdc97cd4f4f14fcb08b957fe690
---

 libavcodec/vp3.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index 28f0569..1d4c575 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -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);



More information about the ffmpeg-cvslog mailing list