Commit 36fa781b authored by Michael Niedermayer's avatar Michael Niedermayer

h264: reset picture->sync on allocation.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6bd8d613
......@@ -1327,6 +1327,7 @@ int ff_h264_frame_start(H264Context *h){
* See decode_nal_units().
*/
s->current_picture_ptr->f.key_frame = 0;
s->current_picture_ptr->sync = 0;
s->current_picture_ptr->mmco_reset= 0;
assert(s->linesize && s->uvlinesize);
......
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