Commit e0dabc42 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
parent c8ab50b9
......@@ -628,7 +628,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
/* media file path shouldn't start with / character */
mediapath = p_url->psz_path;
if ( *mediapath == '/' )
if ( mediapath && *mediapath == '/' )
{
mediapath++;
}
......
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