aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-11 17:20:08 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-11 17:50:14 +0200
commita990a308835f11461595fa15d66ab4348254bbf6 (patch)
tree1d013d15e3981ef2fd52669ac1c9c2fcb0d7d93c /libavcodec/mpegvideo.h
parent2fe8fd394829d44fd2ac5c7ac30ff01d8f228dd0 (diff)
downloadffmpeg-a990a308835f11461595fa15d66ab4348254bbf6.tar.gz
ratecontrol: correct predictor in case of stuffing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mpegvideo.h')
-rw-r--r--libavcodec/mpegvideo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
index 0fb7d67dbc..39f23222d3 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -469,6 +469,7 @@ typedef struct MpegEncContext {
/* bit rate control */
int64_t total_bits;
int frame_bits; ///< bits used for the current frame
+ int stuffing_bits; ///< bits used for stuffing
int next_lambda; ///< next lambda used for retrying to encode a frame
RateControlContext rc_context; ///< contains stuff only accessed in ratecontrol.c