From: RĂ©mi Denis-Courmont Date: Sat, 6 Feb 2010 18:09:24 +0000 (+0200) Subject: Constify X-Git-Tag: 1.1.0-ff~355 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c68071dfcc2e41584fad994b419b5532c4f4de87;p=vlc Constify --- diff --git a/src/control/video.c b/src/control/video.c index a91a384ace..04185905a7 100644 --- a/src/control/video.c +++ b/src/control/video.c @@ -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 },