[FFmpeg-devel] [PATCH] h264: Initialize outputed_poc

Jeff Downs heydowns
Sun Jul 27 04:50:01 CEST 2008


Patch initializes h264 outputed_poc to INT_MIN at decoder initialization, 
as in flush_dpb().

Fixes issue 560 (couldn't add patch there :()

	-Jeff
-------------- next part --------------
Index: libavcodec/h264.c
===================================================================
--- libavcodec/h264.c	(revision 14424)
+++ libavcodec/h264.c	(working copy)
@@ -2214,6 +2214,7 @@
     }
 
     h->thread_context[0] = h;
+    h->outputed_poc = INT_MIN;
     return 0;
 }
 



More information about the ffmpeg-devel mailing list