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

VCD: fix segfault when opening not-a-file

parent b342028b
......@@ -96,6 +96,9 @@ static int Open( vlc_object_t *p_this )
{
access_t *p_access = (access_t *)p_this;
access_sys_t *p_sys;
if( p_access->psz_filepath == NULL )
return VLC_EGENERIC;
char *psz_dup = ToLocaleDup( p_access->psz_filepath );
char *psz;
int i_title = 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