Commit de62d30b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

stream: copy p_input from p_access

As for other parameters in this case.
parent ca00082d
...@@ -1699,7 +1699,7 @@ static int AReadStream( stream_t *s, void *p_read, unsigned int i_read ) ...@@ -1699,7 +1699,7 @@ static int AReadStream( stream_t *s, void *p_read, unsigned int i_read )
msg_Dbg( s, "opening input `%s'", psz_name ); msg_Dbg( s, "opening input `%s'", psz_name );
p_list_access = access_New( s, s->p_input, p_access->psz_access, "", psz_name ); p_list_access = access_New( s, p_access->p_input, p_access->psz_access, "", psz_name );
if( !p_list_access ) return 0; if( !p_list_access ) return 0;
...@@ -1765,7 +1765,7 @@ static block_t *AReadBlock( stream_t *s, bool *pb_eof ) ...@@ -1765,7 +1765,7 @@ static block_t *AReadBlock( stream_t *s, bool *pb_eof )
msg_Dbg( s, "opening input `%s'", psz_name ); msg_Dbg( s, "opening input `%s'", psz_name );
p_list_access = access_New( s, s->p_input, p_access->psz_access, "", psz_name ); p_list_access = access_New( s, p_access->p_input, p_access->psz_access, "", psz_name );
if( !p_list_access ) return 0; if( !p_list_access ) return 0;
...@@ -1820,7 +1820,7 @@ static int ASeek( stream_t *s, uint64_t i_pos ) ...@@ -1820,7 +1820,7 @@ static int ASeek( stream_t *s, uint64_t i_pos )
if( i != p_sys->i_list_index && i != 0 ) if( i != p_sys->i_list_index && i != 0 )
{ {
p_list_access = p_list_access =
access_New( s, s->p_input, p_access->psz_access, "", psz_name ); access_New( s, p_access->p_input, p_access->psz_access, "", psz_name );
} }
else if( i != p_sys->i_list_index ) else if( i != p_sys->i_list_index )
{ {
......
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