Assert that long_ref has been cleared for released pics.

Originally committed as revision 14385 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 17 years ago
parent 849b9cef32
commit 5118c6c771
  1. 1
      libavcodec/h264.c

@ -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;
}

Loading…
Cancel
Save