Fix artifacts of MPEG4-720I-DN-SV8K.trp caused by lack of IDR pictures and
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Sep 2008 12:21:06 +0000 (12:21 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 4 Sep 2008 12:21:06 +0000 (12:21 +0000)
subsequent zero POC value.

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

libavcodec/h264.c

index 18b3ea4..98866c7 100644 (file)
@@ -2215,6 +2215,7 @@ static av_cold int decode_init(AVCodecContext *avctx){
 
     h->thread_context[0] = h;
     h->outputed_poc = INT_MIN;
+    h->prev_poc_msb= 1<<16;
     return 0;
 }