Initialize outputed_poc to INT_MIN at decoder initialization.
authorJeff Downs <heydowns@borg.com>
Sun, 27 Jul 2008 13:49:04 +0000 (13:49 +0000)
committerJeff Downs <heydowns@borg.com>
Sun, 27 Jul 2008 13:49:04 +0000 (13:49 +0000)
Fixes issue 560

Originally committed as revision 14428 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 877ee08..2c24787 100644 (file)
@@ -2192,6 +2192,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
     }
 
     h->thread_context[0] = h;
+    h->outputed_poc = INT_MIN;
     return 0;
 }