diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-10-05 19:27:18 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-10-05 19:27:18 +0000 |
commit | 075060023d978975ed5328e269d6e20163e669d2 (patch) | |
tree | 6335d81f345000f08da9a02b299d7c2933658406 /libavcodec/mpegvideo.h | |
parent | e1931c59f6dcbc851c92af4a3f7932ac04b5358e (diff) | |
download | ffmpeg-075060023d978975ed5328e269d6e20163e669d2.tar.gz |
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.h | 1 |
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 */ |