Commit cbbe5d60 authored by François Cartegnie's avatar François Cartegnie 🤞

stream_filter: ifo: use VLC_EGENERIC

(cherry picked from commit 20b7c98d)
parent 09e41a0a
......@@ -102,7 +102,7 @@ static int ReadDVD( stream_t *p_stream, input_item_node_t *node )
const char *psz_location = StreamLocation(p_stream);
if( asprintf( &psz_url, "dvd://%s", psz_location ) == -1 )
return 0;
return VLC_EGENERIC;
input_item_t *p_input = input_item_New( psz_url, psz_url );
input_item_node_AppendItem( node, p_input );
......@@ -121,7 +121,7 @@ static int ReadDVD_VR( stream_t *p_stream, input_item_node_t *node )
char *psz_url = strdup( psz_location );
if( unlikely( psz_url == NULL ) )
return 0;
return VLC_EGENERIC;
strcpy( &psz_url[len - 12], "VR_MOVIE.VRO" );
......
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