]> git.sesse.net Git - vlc/blobdiff - modules/demux/vobsub.c
demux: provide both URL and file path as with access
[vlc] / modules / demux / vobsub.c
index f8283db8d7854bc2c67f6f6aba3566274bf7b6cd..208284217b5f22acf404ce2dd61c3a34f2b7029f 100644 (file)
@@ -188,7 +188,8 @@ static int Open ( vlc_object_t *p_this )
         }
     }
 
-    if( asprintf( &psz_vobname, "%s://%s", p_demux->psz_access, p_demux->psz_path ) == -1 )
+    if( asprintf( &psz_vobname, "%s://%s", p_demux->psz_access,
+                  p_demux->psz_location ) == -1 )
     {
         free( p_sys );
         return VLC_EGENERIC;