]> git.sesse.net Git - vlc/commitdiff
avcodec: fix typo
authorIlkka Ollakka <ileoo@videolan.org>
Sat, 5 Jun 2010 10:43:27 +0000 (13:43 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Sat, 5 Jun 2010 10:43:34 +0000 (13:43 +0300)
modules/codec/avcodec/encoder.c

index b3e48b9fce9d43890402657f6596f6700bd0c17f..841ab1671ea570fb2e7d0d692deaeeafbcca0fe6 100644 (file)
@@ -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;
            }