Commit f217c5af authored by Rafaël Carré's avatar Rafaël Carré

xspf muxer: determinates correctly if we're handling a file:// uri, and so produce valid XSPF

parent 3890f30a
......@@ -307,10 +307,11 @@ static char *assertUTF8URI( char *psz_name )
i_delim++; /* skip the ':' */
strncpy( psz_ret, psz_s, i_delim );
psz_d = psz_ret + i_delim;
psz_s += i_delim;
if( !strncmp( psz_s, "file://", 7 ) )
b_uri_is_file = VLC_TRUE;
psz_s += i_delim;
}
/* assume "file" scheme if no scheme-part is included */
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment