Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-26 14:23:16 +0400
committerAnton Khirnov <anton@khirnov.net>2013-11-29 17:19:47 +0400
commite62a43f6b1a9c0c82e1df33c0c038e32029c0aa4 (patch)
treef574c51104f552354ccec8eb208d9a0427a2b2af /libavcodec/mpegvideo.c
parentee8af2dd99dcb7a01a667deedec81d1aa2a00d72 (diff)
mpeg4videodec: move MpegEncContext.time_increment_bits to Mpeg4DecContext
The field remains in MpegEncContext for use in the encoder.
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index de446a8042..5886e5b882 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -716,9 +716,9 @@ do {\
s->workaround_bugs = s1->workaround_bugs;
// MPEG4 timing info
- memcpy(&s->time_increment_bits, &s1->time_increment_bits,
+ memcpy(&s->last_time_base, &s1->last_time_base,
(char *) &s1->pb_field_time + sizeof(s1->pb_field_time) -
- (char *) &s1->time_increment_bits);
+ (char *) &s1->last_time_base);
// B-frame info
s->max_b_frames = s1->max_b_frames;