[FFmpeg-cvslog] r15965 - trunk/libavcodec/h264.c
michael
subversion
Mon Dec 1 00:51:03 CET 2008
Author: michael
Date: Mon Dec 1 00:51:02 2008
New Revision: 15965
Log:
Fix segfault due to deallocated entries in delayed_pic after size change.
Fixes issue714.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Mon Dec 1 00:51:02 2008
@@ -3639,6 +3639,7 @@ static int decode_slice_header(H264Conte
if(h != h0)
return -1; // width / height changed during parallelized decoding
free_tables(h);
+ flush_dpb(s->avctx);
MPV_common_end(s);
}
if (!s->context_initialized) {
More information about the ffmpeg-cvslog
mailing list