[vlc-commits] commit: avcodec: fix typo (Ilkka Ollakka )

git at videolan.org git at videolan.org
Sat Jun 5 12:44:13 CEST 2010


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sat Jun  5 13:43:27 2010 +0300| [02a7f81f74280114c783f75903109e96c1b60173] | committer: Ilkka Ollakka 

avcodec: fix typo

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02a7f81f74280114c783f75903109e96c1b60173
---

 modules/codec/avcodec/encoder.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index b3e48b9..841ab16 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;
            }
 



More information about the vlc-commits mailing list