Commit 80f716cd authored by Michael Niedermayer's avatar Michael Niedermayer

mpeg4videodec: fix lml4 and frame threading without -vsync 0

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 525a8f3b
...@@ -511,6 +511,7 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst, const AVCodecContext *src ...@@ -511,6 +511,7 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst, const AVCodecContext *src
//Error/bug resilience //Error/bug resilience
s->next_p_frame_damaged = s1->next_p_frame_damaged; s->next_p_frame_damaged = s1->next_p_frame_damaged;
s->workaround_bugs = s1->workaround_bugs; s->workaround_bugs = s1->workaround_bugs;
s->padding_bug_score = s1->padding_bug_score;
//MPEG4 timing info //MPEG4 timing info
memcpy(&s->time_increment_bits, &s1->time_increment_bits, (char*)&s1->shape - (char*)&s1->time_increment_bits); memcpy(&s->time_increment_bits, &s1->time_increment_bits, (char*)&s1->shape - (char*)&s1->time_increment_bits);
......
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