Commit 09e41a0a authored by François Cartegnie's avatar François Cartegnie 🤞

stream_filter: ifo: don't overwrite url

(cherry picked from commit 9338fff8)
parent 806cd688
......@@ -98,13 +98,9 @@ int Import_IFO( vlc_object_t *p_this )
static int ReadDVD( stream_t *p_stream, input_item_node_t *node )
{
char *psz_url, *psz_dir;
char *psz_url;
const char *psz_location = StreamLocation(p_stream);
psz_dir = strrchr( psz_location, '/' );
if( psz_dir != NULL )
psz_dir[1] = '\0';
if( asprintf( &psz_url, "dvd://%s", psz_location ) == -1 )
return 0;
......
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