diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-03-18 02:46:39 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-03-18 02:46:39 +0000 |
commit | 0adba3d88b0b343a41660f186e0259640cff5980 (patch) | |
tree | 18dd855cf2d255e2c63597628ba601651b212472 /libavcodec/xvid_rc.c | |
parent | e70e7a4b172dcadaf6a25a6a37dedcf2e39c06ec (diff) | |
download | ffmpeg-0adba3d88b0b343a41660f186e0259640cff5980.tar.gz |
fixing bquant_offset
Originally committed as revision 5179 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xvid_rc.c')
-rw-r--r-- | libavcodec/xvid_rc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xvid_rc.c b/libavcodec/xvid_rc.c index 7f6a6e9d80..c19c481a05 100644 --- a/libavcodec/xvid_rc.c +++ b/libavcodec/xvid_rc.c @@ -94,7 +94,7 @@ float ff_xvid_rate_estimate_qscale(MpegEncContext *s, int dry_run){ xvid_plg_data.max_quant[0]= s->avctx->qmax; xvid_plg_data.max_quant[1]= s->avctx->qmax; xvid_plg_data.max_quant[2]= s->avctx->qmax; //FIXME i/b factor & offset - xvid_plg_data.bquant_offset = s->avctx->b_quant_offset; + xvid_plg_data.bquant_offset = 100 * s->avctx->b_quant_offset; xvid_plg_data.bquant_ratio = 100 * s->avctx->b_quant_factor; #if 0 |