Commit 0b3f034f authored by Laurent Aimar's avatar Laurent Aimar

Use stream_t path instead of access_t one.

parent 9f052b2b
...@@ -2522,13 +2522,13 @@ static int InputSourceInit( input_thread_t *p_input, ...@@ -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_real_path;
char *psz_buf = NULL; char *psz_buf = NULL;
if( in->p_access->psz_path ) if( in->p_stream->psz_path )
{ {
const char *psz_a, *psz_d; 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 ); input_SplitMRL( &psz_a, &psz_d, &psz_real_path, psz_buf );
} }
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment