From: Ilkka Ollakka Date: Sat, 5 Jun 2010 10:43:27 +0000 (+0300) Subject: avcodec: fix typo X-Git-Tag: 1.2.0-pre1~6302 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=02a7f81f74280114c783f75903109e96c1b60173;p=vlc avcodec: fix typo --- diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c index b3e48b9fce..841ab1671e 100644 --- a/modules/codec/avcodec/encoder.c +++ b/modules/codec/avcodec/encoder.c @@ -608,13 +608,13 @@ int OpenEncoder( vlc_object_t *p_this ) /* Check that we don't overrun users qmin/qmax values */ if( !var_GetInteger( p_enc, ENC_CFG_PREFIX "qmin" ) ) { - p_context->mb_qmin = p_context->qmin = 10 * FF_QP2LAMBDA; + p_context->mb_qmin = p_context->qmin = 10; p_context->mb_lmin = p_context->lmin = 10 * FF_QP2LAMBDA; } if( !var_GetInteger( p_enc, ENC_CFG_PREFIX "qmax" ) ) { - p_context->mb_qmax = p_context->qmax = 42 * FF_QP2LAMBDA; + p_context->mb_qmax = p_context->qmax = 42; p_context->mb_lmax = p_context->lmax = 42 * FF_QP2LAMBDA; }