summaryrefslogtreecommitdiff
path: root/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-10-05 19:27:18 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-10-05 19:27:18 +0000
commit075060023d978975ed5328e269d6e20163e669d2 (patch)
tree6335d81f345000f08da9a02b299d7c2933658406 /libavcodec/mpegvideo.h
parente1931c59f6dcbc851c92af4a3f7932ac04b5358e (diff)
fix buffer underflows by reencoding the current frame with a higher QP
Originally committed as revision 6565 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 442bdd4ec5..0cd1c59b49 100644
--- a/libavcodec/mpegvideo.h
+++ b/libavcodec/mpegvideo.h
@@ -459,6 +459,7 @@ typedef struct MpegEncContext {
int64_t wanted_bits;
int64_t total_bits;
int frame_bits; ///< bits used for the current frame
+ int next_lambda; ///< next lambda used for retrying to encode a frame
RateControlContext rc_context; ///< contains stuff only accessed in ratecontrol.c
/* statistics, used for 2-pass encoding */