From e4b8f1fa77e048eae8c6e3caee9ac495302a36aa Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 4 Sep 2008 12:21:06 +0000 Subject: [PATCH] Fix artifacts of MPEG4-720I-DN-SV8K.trp caused by lack of IDR pictures and subsequent zero POC value. Originally committed as revision 15194 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 18b3ea49e7..98866c77af 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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; }