diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2002-12-18 10:09:43 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-12-18 10:09:43 +0000 |
commit | 17a70fdeeff1260ac9b2651ea9f36dbd23d0ced8 (patch) | |
tree | 86edc0afa4880c8ed87d5c76192dde4f120f8dda /libavcodec/ratecontrol.c | |
parent | 8fc698950b5fdbb947ae8718e10adca6bd1560fa (diff) | |
download | ffmpeg-17a70fdeeff1260ac9b2651ea9f36dbd23d0ced8.tar.gz |
mb qp limits
Originally committed as revision 1340 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r-- | libavcodec/ratecontrol.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 1fcb60a3db..6be99cc4d0 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -474,8 +474,8 @@ static void adaptive_quantization(MpegEncContext *s, double q){ float cplx_sum= 0.0; float cplx_tab[s->mb_num]; float bits_tab[s->mb_num]; - const int qmin= 2; //s->avctx->mb_qmin; - const int qmax= 31; //s->avctx->mb_qmax; + const int qmin= s->avctx->mb_qmin; + const int qmax= s->avctx->mb_qmax; Picture * const pic= &s->current_picture; for(i=0; i<s->mb_num; i++){ |