Browse Source

mpeg4videodec: fix lml4 and frame threading without -vsync 0

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 13 years ago
parent
commit
80f716cd45
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/mpegvideo.c

+ 1
- 0
libavcodec/mpegvideo.c View File

@@ -511,6 +511,7 @@ int ff_mpeg_update_thread_context(AVCodecContext *dst, const AVCodecContext *src
//Error/bug resilience
s->next_p_frame_damaged = s1->next_p_frame_damaged;
s->workaround_bugs = s1->workaround_bugs;
s->padding_bug_score = s1->padding_bug_score;

//MPEG4 timing info
memcpy(&s->time_increment_bits, &s1->time_increment_bits, (char*)&s1->shape - (char*)&s1->time_increment_bits);


Loading…
Cancel
Save