aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-07-19 22:31:23 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-20 00:27:51 +0200
commitd8d2f934bd008c1db585bd0487d2084689ae8ba5 (patch)
tree086ab048012ddaf5a089e16281bcee444254fbf2 /libavcodec/avcodec.h
parent5c583b141980102530c75d2756b06766742532a1 (diff)
downloadffmpeg-d8d2f934bd008c1db585bd0487d2084689ae8ba5.tar.gz
lavc: Improve documentation for rc_max_rate and bit_rate.
Both may be set by user (libavformat) on decoding.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index ad2f5b56eb..62205c9896 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1311,7 +1311,8 @@ typedef struct AVCodecContext {
/**
* the average bitrate
* - encoding: Set by user; unused for constant quantizer encoding.
- * - decoding: Set by libavcodec. 0 or some bitrate if this info is available in the stream.
+ * - decoding: Set by user, may be overwritten by libavcodec
+ * if this info is available in the stream
*/
int bit_rate;
@@ -2349,7 +2350,7 @@ typedef struct AVCodecContext {
/**
* maximum bitrate
* - encoding: Set by user.
- * - decoding: Set by libavcodec.
+ * - decoding: Set by user, may be overwritten by libavcodec.
*/
int rc_max_rate;