Commit 5118c6c7 authored by Michael Niedermayer's avatar Michael Niedermayer

Assert that long_ref has been cleared for released pics.

Originally committed as revision 14385 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 849b9cef
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment