Reset frame_num for MMCO 5.

Fixes at least
MR2_TANDBERG_E.264

Originally committed as revision 14338 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-07-22 19:30:45 +00:00
parent 2e916cb392
commit e44e48372b
1 changed files with 1 additions and 0 deletions

View File

@ -3539,6 +3539,7 @@ static int execute_ref_pic_marking(H264Context *h, MMCO *mmco, int mmco_count){
pic= remove_long(h, j);
if(pic) unreference_pic(h, pic, 0);
}
s->current_picture_ptr->frame_num= 0;
break;
default: assert(0);
}