Commit b6968757 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

directory: do not assume demux has an input

parent 279db9d8
......@@ -78,6 +78,8 @@ static int Import_Dir( vlc_object_t *p_this )
if( vlc_stream_Control( p_demux->s, STREAM_IS_DIRECTORY ) )
return VLC_EGENERIC;
if( p_demux->p_input == NULL )
return VLC_ETIMEOUT;
p_demux->pf_demux = Demux;
p_demux->pf_control = Control;
......
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