]> git.sesse.net Git - vlc/commitdiff
Constify
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 6 Feb 2010 18:09:24 +0000 (20:09 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 6 Feb 2010 18:09:24 +0000 (20:09 +0200)
src/control/video.c

index a91a384ace3fc72d1dffb76b0603ffc7a6273b17..04185905a776775b3ede69fc44f1cc1ae45ca1cd 100644 (file)
@@ -719,7 +719,7 @@ get_string( libvlc_media_player_t *p_mi, const char *name,
 static const opt_t *
 marq_option_bynumber(unsigned option, libvlc_exception_t *p_e)
 {
-    opt_t optlist[] =
+    static const opt_t optlist[] =
     {
         { "marq",          0 },
         { "marq-marquee",  VLC_VAR_STRING },
@@ -789,7 +789,8 @@ void libvlc_video_set_marquee_string( libvlc_media_player_t *p_mi,
 static opt_t *
 logo_option_bynumber( unsigned option, libvlc_exception_t *p_e )
 {
-    opt_t vlogo_optlist[] = /* depends on libvlc_video_logo_option_t */
+    static const opt_t vlogo_optlist[] =
+    /* depends on libvlc_video_logo_option_t */
     {
         { "logo",          0 },
         { "logo-file",     VLC_VAR_STRING },