X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Finput%2Fstream.c;h=f0a90dc1286c09e5587e386aa1222fa53b0db062;hb=12ade3e3bc975d5426ba4af155b7372c31093b31;hp=aaf7f94169673cea50f9584475718935214fa1e7;hpb=e2eccee759772d903d7fb1fed398fb354d45b676;p=vlc diff --git a/src/input/stream.c b/src/input/stream.c index aaf7f94169..f0a90dc128 100644 --- a/src/input/stream.c +++ b/src/input/stream.c @@ -30,7 +30,6 @@ #include #include -#include #include #include @@ -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 );