diff mpegvideo.h @ 3939:16ace038f452 libavcodec

fix buffer underflows by reencoding the current frame with a higher QP
author michael
date Thu, 05 Oct 2006 19:27:18 +0000
parents 730ad999e379
children c8c591fe26f8
line wrap: on
line diff
--- a/mpegvideo.h	Thu Oct 05 18:15:17 2006 +0000
+++ b/mpegvideo.h	Thu Oct 05 19:27:18 2006 +0000
@@ -459,6 +459,7 @@
     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 */