]> git.sesse.net Git - vlc/commitdiff
* const char warning fix
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 13 Nov 2006 17:25:26 +0000 (17:25 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 13 Nov 2006 17:25:26 +0000 (17:25 +0000)
modules/video_output/image.c

index 7670a57f9e1300663ef4369e0de28e37e56f5b10..7be8ae5be404064ccdd7a493a89d937a711f4c83 100644 (file)
@@ -73,8 +73,8 @@ static void Display   ( vout_thread_t *, picture_t * );
                             "creating one file per image. In this case, " \
                              "the number is not appended to the filename." )
 
-static char *psz_format_list[] = { "png", "jpeg" };
-static char *psz_format_list_text[] = { "PNG", "JPEG" };
+static const char *psz_format_list[] = { "png", "jpeg" };
+static const char *psz_format_list_text[] = { "PNG", "JPEG" };
 
 vlc_module_begin( );
     set_shortname( _( "Image file" ) );