aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-09-04 12:21:06 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-09-04 12:21:06 +0000
commite4b8f1fa77e048eae8c6e3caee9ac495302a36aa (patch)
treee74e06970af15bdc9525d0d7207f59f161c8fe1d /libavcodec/h264.c
parent1be0fc2909fbcefd800d20cfff1420234fd0715b (diff)
downloadffmpeg-e4b8f1fa77e048eae8c6e3caee9ac495302a36aa.tar.gz
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
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
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;
}