[vlc-commits] lib/video: fix indent

Thomas Guillem git at videolan.org
Mon Jun 5 18:39:15 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jun  5 16:41:34 2017 +0200| [3c3da93c4100d4976f2cb953a336d6ef7234f0c2] | committer: Thomas Guillem

lib/video: fix indent

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

 lib/video.c | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/lib/video.c b/lib/video.c
index 58ef102fae..321bff1922 100644
--- a/lib/video.c
+++ b/lib/video.c
@@ -766,15 +766,13 @@ static void vout_EnableFilter( vlc_object_t *p_parent, const char *psz_name,
 
             /* Remove trailing : : */
             if( *(psz_string+strlen(psz_string ) -1 ) == ':' )
-            {
                 *(psz_string+strlen(psz_string ) -1 ) = '\0';
-            }
-         }
-         else
-         {
-             free( psz_string );
-             return;
-         }
+        }
+        else
+        {
+            free( psz_string );
+            return;
+        }
     }
 
     var_SetString( p_parent, psz_filter_type, psz_string );



More information about the vlc-commits mailing list