ffmpeg | branch: release/0.7 | Dale Curtis <dalecur...@chromium.org> | Thu Jan 10 11:05:29 2013 -0800| [c3ece52decafc4923aebe7fd74b274e9ebb1962e] | committer: Michael Niedermayer
matroska: Fix use after free Signed-off-by: Dale Curtis <dalecur...@chromium.org> Signed-off-by: Luca Barbato <lu_z...@gentoo.org> (cherry picked from commit ae3d41636942cbc0236bad21ad06c65f4eb0f096) Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c3ece52decafc4923aebe7fd74b274e9ebb1962e --- libavformat/matroskadec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 2fe1db5..ac91f67 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1676,6 +1676,7 @@ static int matroska_deliver_packet(MatroskaDemuxContext *matroska, */ static void matroska_clear_queue(MatroskaDemuxContext *matroska) { + matroska->prev_pkt = NULL; if (matroska->packets) { int n; for (n = 0; n < matroska->num_packets; n++) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog