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

stream_filter: ifo: check extension first

(cherry picked from commit 07e7a828)
parent 357684db
......@@ -54,6 +54,9 @@ int Import_IFO( vlc_object_t *p_this )
CHECK_FILE(p_stream);
if( !stream_HasExtension( p_stream, ".IFO" ) )
return VLC_EGENERIC;
const char *psz_location = StreamLocation( p_stream );
if( psz_location == NULL )
return VLC_EGENERIC;
......
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