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
This commit is contained in:
Michael Niedermayer 2008-09-04 12:21:06 +00:00
parent 1be0fc2909
commit e4b8f1fa77
1 changed files with 1 additions and 0 deletions

View File

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