X-Git-Url: http://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=blobdiff_plain;f=src%2Finput%2Finput.c;h=53b6caf91f99f9c150133f541ac74518fa098ab2;hp=a08542ecdcde160a318f6793c978d1bcd1f491f5;hb=0b3f034fd5e3802d459caca8b11ee48bf1b29b7a;hpb=9f052b2bd26acc0d580e443dedb8681c287808ea diff --git a/src/input/input.c b/src/input/input.c index a08542ecdc..53b6caf91f 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -2522,13 +2522,13 @@ static int InputSourceInit( input_thread_t *p_input, } { - /* Take access redirections into account */ + /* Take access/stream redirections into account */ char *psz_real_path; char *psz_buf = NULL; - if( in->p_access->psz_path ) + if( in->p_stream->psz_path ) { const char *psz_a, *psz_d; - psz_buf = strdup( in->p_access->psz_path ); + psz_buf = strdup( in->p_stream->psz_path ); input_SplitMRL( &psz_a, &psz_d, &psz_real_path, psz_buf ); } else