Assert that long_ref has been cleared for released pics.

Originally committed as revision 14385 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-07-25 11:54:03 +00:00
parent 849b9cef32
commit 5118c6c771
1 changed files with 1 additions and 0 deletions

View File

@ -2268,6 +2268,7 @@ static int frame_start(H264Context *h){
s->current_picture_ptr->field_poc[0]=
s->current_picture_ptr->field_poc[1]= INT_MAX;
assert(s->current_picture_ptr->long_ref==0);
return 0;
}