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

Do not try to open - as a directory

parent f545f8f7
......@@ -149,7 +149,7 @@ static int Open( vlc_object_t *p_this )
{
access_t *p_access = (access_t*)p_this;
if( !p_access->psz_path )
if( !p_access->psz_path || !strcmp( p_access->psz_path, "-" ) )
return VLC_EGENERIC;
DIR *handle = OpenDir (p_this, p_access->psz_path);
......
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