};
enum { num_opts = sizeof(optlist) / sizeof(*optlist) };
- opt_t *r = option < num_opts ? optlist+option : NULL;
+ const opt_t *r = option < num_opts ? optlist+option : NULL;
if( !r )
libvlc_printerr( "Unknown marquee option" );
return r;
/* logo module support */
-static opt_t *
+static const opt_t *
logo_option_bynumber( unsigned option )
{
static const opt_t vlogo_optlist[] =
};
enum { num_vlogo_opts = sizeof(vlogo_optlist) / sizeof(*vlogo_optlist) };
- opt_t *r = option < num_vlogo_opts ? vlogo_optlist+option : NULL;
+ const opt_t *r = option < num_vlogo_opts ? vlogo_optlist+option : NULL;
if( !r )
libvlc_printerr( "Unknown logo option" );
return r;
/* adjust module support */
-static opt_t *
+static const opt_t *
adjust_option_bynumber( unsigned option )
{
static const opt_t optlist[] =
};
enum { num_opts = sizeof(optlist) / sizeof(*optlist) };
- opt_t *r = option < num_opts ? optlist+option : NULL;
+ const opt_t *r = option < num_opts ? optlist+option : NULL;
if( !r )
libvlc_printerr( "Unknown adjust option" );
return r;