diff options
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r-- | libavcodec/mpegvideo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 737a92fa84..de446a8042 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -717,7 +717,8 @@ do {\ // MPEG4 timing info memcpy(&s->time_increment_bits, &s1->time_increment_bits, - (char *) &s1->shape - (char *) &s1->time_increment_bits); + (char *) &s1->pb_field_time + sizeof(s1->pb_field_time) - + (char *) &s1->time_increment_bits); // B-frame info s->max_b_frames = s1->max_b_frames; |