]> git.sesse.net Git - vlc/commitdiff
Please keep the coding style consistent inside the same source file.
authorAntoine Cellerier <dionoea@videolan.org>
Thu, 5 Apr 2007 19:24:18 +0000 (19:24 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Thu, 5 Apr 2007 19:24:18 +0000 (19:24 +0000)
include/vlc_variables.h
modules/video_output/image.c

index 991781e5b5080252dc7a531d76735f954df1b09b..ae9b108938803b7485b47c55fd63ee0d577e2f1d 100644 (file)
@@ -359,11 +359,11 @@ static inline char *__var_GetString( vlc_object_t *p_obj, const char *psz_name )
 static inline char *__var_GetNonEmptyString( vlc_object_t *obj, const char *name )
 {
     vlc_value_t val;
-    if (__var_Get (obj, name, &val))
+    if( __var_Get( obj, name, &val ) )
         return NULL;
-    if (*val.psz_string)
+    if( *val.psz_string )
         return val.psz_string;
-    free (val.psz_string);
+    free( val.psz_string );
     return NULL;
 }
 
index 1b6096f9466004bc06d42cec553fb95329113901..57656ecb92e3de3d216887e8fbac1acad5d4511b 100644 (file)
@@ -274,8 +274,8 @@ static void Display( vout_thread_t *p_vout, picture_t *p_pic )
     char *psz_prefix;
     char *psz_tmp;
 
-    memset (&fmt_in, 0, sizeof (fmt_in));
-    memset (&fmt_out, 0, sizeof (fmt_out));
+    memset( &fmt_in, 0, sizeof( fmt_in ) );
+    memset( &fmt_out, 0, sizeof( fmt_out ) );
 
     if( p_vout->p_sys->i_frames % p_vout->p_sys->i_ratio != 0 )
     {