]> git.sesse.net Git - vlc/blobdiff - modules/demux/mp4/mp4.c
demux: provide both URL and file path as with access
[vlc] / modules / demux / mp4 / mp4.c
index bd84188f614060b086820dc62395289514741e2e..21d73d7752b67cad573efdb9073136bd70702fa9 100644 (file)
@@ -402,7 +402,7 @@ static int Open( vlc_object_t * p_this )
                 else
                 {
                     char *psz_absolute;
-                    char *psz_path = strdup( p_demux->psz_path );
+                    char *psz_path = strdup( p_demux->psz_location );
                     char *end = strrchr( psz_path, '/' );
                     if( end ) end[1] = '\0';
                     else *psz_path = '\0';