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

hds: use strcasestr() for ASCII case-insentive match

vlc_strcasestr() is slower, locale-dependant and wrong
(e.g. httpś should not match).
parent ef3e60d4
......@@ -223,8 +223,8 @@ static int Control( stream_t *, int , va_list );
static inline bool isFQUrl( const char* url )
{
return ( NULL != vlc_strcasestr( url, "https://") ||
NULL != vlc_strcasestr( url, "http://" ) );
return ( NULL != strcasestr( url, "https://") ||
NULL != strcasestr( url, "http://" ) );
}
static bool isHDS( stream_t *s )
......
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