ffmpeg | branch: release/0.5 | Dale Curtis <[email protected]> | Thu Jan 10 11:05:29 2013 -0800| [90c8fa52216b7a9fc83167f791dd7bb1d01bbaf2] | committer: Michael Niedermayer
matroska: Fix use after free Signed-off-by: Dale Curtis <[email protected]> Signed-off-by: Luca Barbato <[email protected]> (cherry picked from commit ae3d41636942cbc0236bad21ad06c65f4eb0f096) Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90c8fa52216b7a9fc83167f791dd7bb1d01bbaf2 --- libavformat/matroskadec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 21f1b5d..6cf9028 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1503,6 +1503,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 [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
