@@ -186,6 +190,26 @@ static int Demux( demux_t *p_demux )
...
@@ -186,6 +190,26 @@ static int Demux( demux_t *p_demux )
if(psz_artist)
if(psz_artist)
psz_artist=strdup(psz_artist);
psz_artist=strdup(psz_artist);
}
}
elseif(!strncasecmp(psz_parse,"EXTVLCOPT:",
sizeof("EXTVLCOPT:")-1))
{
if(b_enable_extvlcopt)
{
/* VLC Option */
char*psz_option;
psz_parse+=sizeof("EXTVLCOPT:")-1;
if(!*psz_parse)gotoerror;
psz_option=MaybeFromLocaleDup(psz_parse);
if(psz_option)
INSERT_ELEM(ppsz_options,i_options,i_options,
psz_option);
}
else
{
msg_Err(p_demux,"m3u EXTVLCOPT parsing is disabled for security reasons. If you need it and trust the m3u playlist you are trying to open, please append --m3u-extvlcopt to you command line.");
}
}
}
}
elseif(*psz_parse)
elseif(*psz_parse)
{
{
...
@@ -203,6 +227,10 @@ static int Demux( demux_t *p_demux )
...
@@ -203,6 +227,10 @@ static int Demux( demux_t *p_demux )