[vlc-commits] avcodec: cosmetic, fix indenting

Ilkka Ollakka git at videolan.org
Sun Aug 9 12:58:50 CEST 2015


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Sun Aug  9 00:40:12 2015 +0300| [50f98e2a78268a056eb433e091cfca88a0412a9a] | committer: Ilkka Ollakka

avcodec: cosmetic, fix indenting

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

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

diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index f977242..c40aef2 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -782,12 +782,10 @@ int OpenEncoder( vlc_object_t *p_this )
                 p_context->mb_lmax = p_context->lmax = 42 * FF_QP2LAMBDA;
             }
 
-            } else {
-            if( !var_GetInteger( p_enc, ENC_CFG_PREFIX "qmin" ) )
-            {
+        } else if( !var_GetInteger( p_enc, ENC_CFG_PREFIX "qmin" ) )
+        {
                 p_context->qmin = 1;
                 p_context->mb_lmin = p_context->lmin = FF_QP2LAMBDA;
-            }
         }
 
 



More information about the vlc-commits mailing list