Commit f0c3d6fb authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

PLS: replace HTTP in Ref1 with MMSH rather than MMS (fixes #4494)

If the playlist file says HTTP, we really should not try MMS over TCP
or MMS over UDP, but only MMS over HTTP.
parent fa0a6fcc
......@@ -169,12 +169,7 @@ static int Demux( demux_t *p_demux )
if( !strncasecmp( psz_key, "Ref", sizeof("Ref") -1 ) )
{
if( !strncasecmp( psz_mrl, "http://", sizeof("http://") -1 ) )
{
psz_mrl++;
psz_mrl[0] = 'm';
psz_mrl[1] = 'm';
psz_mrl[2] = 's';
}
memcpy( psz_mrl, "mmsh", 4 );
}
}
else if( !strncasecmp( psz_key, "title", sizeof("title") -1 ) )
......
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