[vlc-commits] commit: avcodec: fix typo (Ilkka Ollakka )
git at videolan.org
git at videolan.org
Sat Jun 5 12:44:51 CEST 2010
vlc/vlc-1.1 | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sat Jun 5 13:43:27 2010 +0300| [d25e47c150ab0447ca716620a8a25a42559322d0] | committer: Ilkka Ollakka
avcodec: fix typo
(cherry picked from commit 02a7f81f74280114c783f75903109e96c1b60173)
Signed-off-by: Ilkka Ollakka <ileoo at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=d25e47c150ab0447ca716620a8a25a42559322d0
---
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 0ba4ffb..3f418de 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -592,13 +592,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