demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys;
+ if( p_demux->psz_file == NULL )
+ return VLC_EGENERIC;
if( *p_demux->psz_access &&
strcmp( p_demux->psz_access, "bd" ) &&
strcmp( p_demux->psz_access, "file" ) )
/* */
bool b_shortname;
- char *psz_base = FindPathBase( p_demux->psz_path, &b_shortname );
+ char *psz_base = FindPathBase( p_demux->psz_file, &b_shortname );
if( !psz_base )
return VLC_EGENERIC;