aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-26 11:23:16 +0100
committerAnton Khirnov <anton@khirnov.net>2013-11-29 14:19:47 +0100
commite62a43f6b1a9c0c82e1df33c0c038e32029c0aa4 (patch)
treef574c51104f552354ccec8eb208d9a0427a2b2af /libavcodec/mpegvideo.h
parentee8af2dd99dcb7a01a667deedec81d1aa2a00d72 (diff)
downloadffmpeg-e62a43f6b1a9c0c82e1df33c0c038e32029c0aa4.tar.gz
mpeg4videodec: move MpegEncContext.time_increment_bits to Mpeg4DecContext
The field remains in MpegEncContext for use in the encoder.
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 518002df66..dc8f527ece 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -569,7 +569,8 @@ typedef struct MpegEncContext {
int custom_pcf;
/* mpeg4 specific */
- int time_increment_bits; ///< number of bits to represent the fractional part of time
+ ///< number of bits to represent the fractional part of time (encoder only)
+ int time_increment_bits;
int last_time_base;
int time_base; ///< time in seconds of last I,P,S Frame
int64_t time; ///< time of current frame