Fix uninitialized variables (CID 242)
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 1 Oct 2008 18:29:57 +0000 (11:29 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 1 Oct 2008 18:32:06 +0000 (11:32 -0700)
modules/video_filter/dynamicoverlay/dynamicoverlay_commands.c

index b50acd0..03e28b2 100644 (file)
@@ -242,8 +242,9 @@ static int parser_SetTextAlpha( char *psz_command, char *psz_end,
 static int parser_SetTextColor( char *psz_command, char *psz_end,
                                 commandparams_t *p_params )
 {
-    int r, g, b;
+    int r = 0, g = 0, b = 0;
     VLC_UNUSED(psz_end);
+
     skip_space( &psz_command );
     if( isdigit( *psz_command ) )
     {