summaryrefslogtreecommitdiff
path: root/libavcodec/xvidff.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-03-18 02:46:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-03-18 02:46:39 +0000
commit0adba3d88b0b343a41660f186e0259640cff5980 (patch)
tree18dd855cf2d255e2c63597628ba601651b212472 /libavcodec/xvidff.c
parente70e7a4b172dcadaf6a25a6a37dedcf2e39c06ec (diff)
fixing bquant_offset
Originally committed as revision 5179 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/xvidff.c')
-rw-r--r--libavcodec/xvidff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xvidff.c b/libavcodec/xvidff.c
index 8abdac8da0..d44fedb2c8 100644
--- a/libavcodec/xvidff.c
+++ b/libavcodec/xvidff.c
@@ -372,7 +372,7 @@ int ff_xvid_encode_init(AVCodecContext *avctx) {
/* Bframes */
xvid_enc_create.max_bframes = avctx->max_b_frames;
- xvid_enc_create.bquant_offset = avctx->b_quant_offset;
+ xvid_enc_create.bquant_offset = 100 * avctx->b_quant_offset;
xvid_enc_create.bquant_ratio = 100 * avctx->b_quant_factor;
if( avctx->max_b_frames > 0 && !x->quicktime_format ) xvid_enc_create.global |= XVID_GLOBAL_PACKED;