Commit fde0c9cb authored by michael's avatar michael

Assert that long_ref has been cleared for released pics.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14385 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9d2c77eb
...@@ -2268,6 +2268,7 @@ static int frame_start(H264Context *h){ ...@@ -2268,6 +2268,7 @@ static int frame_start(H264Context *h){
s->current_picture_ptr->field_poc[0]= s->current_picture_ptr->field_poc[0]=
s->current_picture_ptr->field_poc[1]= INT_MAX; s->current_picture_ptr->field_poc[1]= INT_MAX;
assert(s->current_picture_ptr->long_ref==0);
return 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