Commit 67def288 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Playlist: fix regression on "rtsptext" case testing

For some reasons, some .mov playlist use "rtsptext" instead of
"RTSPtext"
parent 969bc813
......@@ -95,7 +95,7 @@ int Import_M3U( vlc_object_t *p_this )
p_peek += offset;
if( !memcmp( p_peek, "RTSPtext", 8 ) ) /* QuickTime */
if( !strncasecmp( (const char *)p_peek, "RTSPtext", 8 ) ) /* QuickTime */
pf_dup = CheckUnicode; /* UTF-8 */
else
if( !memcmp( p_peek, "#EXTM3U", 7 ) )
......
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