]> git.sesse.net Git - vlc/blobdiff - src/input/stream.c
Use var_Inherit* instead of var_CreateGet*.
[vlc] / src / input / stream.c
index aaf7f94169673cea50f9584475718935214fa1e7..f0a90dc1286c09e5587e386aa1222fa53b0db062 100644 (file)
@@ -30,7 +30,6 @@
 
 #include <vlc_common.h>
 #include <vlc_strings.h>
-#include <vlc_osd.h>
 #include <vlc_memory.h>
 
 #include <libvlc.h>
@@ -295,7 +294,7 @@ stream_t *stream_AccessNew( access_t *p_access, char **ppsz_list )
         return NULL;
 
     s->p_input = p_access->p_input;
-    s->psz_path = strdup( p_access->psz_path );
+    s->psz_path = strdup( p_access->psz_location );
     s->p_sys = p_sys = malloc( sizeof( *p_sys ) );
     if( !s->psz_path || !s->p_sys )
     {
@@ -340,7 +339,7 @@ stream_t *stream_AccessNew( access_t *p_access, char **ppsz_list )
             goto error;
 
         p_entry->i_size = p_access->info.i_size;
-        p_entry->psz_path = strdup( p_access->psz_path );
+        p_entry->psz_path = strdup( p_access->psz_location );
         if( !p_entry->psz_path )
         {
             free( p_entry );