[vlc-devel] [PATCH 2/7] input: Reindent after previous change

Hugo Beauzée-Luyssen hugo at beauzee.fr
Fri Oct 4 12:00:25 CEST 2019


From: Thomas Guillem <thomas at gllm.fr>

---
 src/input/input.c | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index 5e91d55859..880ec5096f 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1306,22 +1306,22 @@ static int Init( input_thread_t * p_input )
 
     if (!input_item_IsPreparsed(input_priv(p_input)->p_item))
     {
-    vlc_meta_t *p_meta = vlc_meta_New();
-    if( p_meta != NULL )
-    {
-        /* Get meta data from users */
-        InputMetaUser( p_input, p_meta );
+        vlc_meta_t *p_meta = vlc_meta_New();
+        if( p_meta != NULL )
+        {
+            /* Get meta data from users */
+            InputMetaUser( p_input, p_meta );
 
-        /* Get meta data from master input */
-        InputSourceMeta( p_input, master, p_meta );
+            /* Get meta data from master input */
+            InputSourceMeta( p_input, master, p_meta );
 
-        /* And from slave */
-        for( int i = 0; i < priv->i_slave; i++ )
-            InputSourceMeta( p_input, priv->slave[i], p_meta );
+            /* And from slave */
+            for( int i = 0; i < priv->i_slave; i++ )
+                InputSourceMeta( p_input, priv->slave[i], p_meta );
 
-        es_out_ControlSetMeta( priv->p_es_out, p_meta );
-        vlc_meta_Delete( p_meta );
-    }
+            es_out_ControlSetMeta( priv->p_es_out, p_meta );
+            vlc_meta_Delete( p_meta );
+        }
     }
 
     msg_Dbg( p_input, "`%s' successfully opened",
-- 
2.20.1



More information about the vlc-devel mailing list