Commit 10d7463d authored by Rafaël Carré's avatar Rafaël Carré

oldrc: fix segfault

parent d750f80c
...@@ -2069,7 +2069,7 @@ static input_item_t *parse_MRL( const char *mrl ) ...@@ -2069,7 +2069,7 @@ static input_item_t *parse_MRL( const char *mrl )
if( !psz_item_mrl ) if( !psz_item_mrl )
{ {
if( strstr( psz_item_mrl, "://" ) != NULL ) if( strstr( psz_item, "://" ) != NULL )
psz_item_mrl = strdup( psz_item ); psz_item_mrl = strdup( psz_item );
else else
psz_item_mrl = vlc_path2uri( psz_item, NULL ); psz_item_mrl = vlc_path2uri( psz_item, NULL );
......
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