]> git.sesse.net Git - vlc/blobdiff - modules/demux/playlist/playlist.c
demux: provide both URL and file path as with access
[vlc] / modules / demux / playlist / playlist.c
index 94536f3553946ce8ea70c217c553a5f3cd656818..55ae96f465fa2fca2ff655f4b5f9688a7ec5b362 100644 (file)
@@ -172,12 +172,12 @@ char *FindPrefix( demux_t *p_demux )
     char *psz_path;
     if( p_demux->psz_access )
     {
-        if( asprintf( &psz_path,"%s://%s", p_demux->psz_access, p_demux->psz_path ) == -1 )
+        if( asprintf( &psz_path,"%s://%s", p_demux->psz_access, p_demux->psz_location ) == -1 )
             return NULL;
     }
     else
     {
-        psz_path = strdup( p_demux->psz_path );
+        psz_path = strdup( p_demux->psz_location );
         if( psz_path == NULL )
             return NULL;
     }