[vlc-commits] stream: copy p_input from p_access

Rémi Denis-Courmont git at videolan.org
Wed Jun 3 19:25:27 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Apr  2 21:08:34 2015 +0300| [de62d30bfcf37f1451b49cf821004fd0969a6d52] | committer: Rémi Denis-Courmont

stream: copy p_input from p_access

As for other parameters in this case.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de62d30bfcf37f1451b49cf821004fd0969a6d52
---

 src/input/stream.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/input/stream.c b/src/input/stream.c
index 17a4275..7cbf420 100644
--- a/src/input/stream.c
+++ b/src/input/stream.c
@@ -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 );
 
-        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;
 
@@ -1765,7 +1765,7 @@ static block_t *AReadBlock( stream_t *s, bool *pb_eof )
 
         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;
 
@@ -1820,7 +1820,7 @@ static int ASeek( stream_t *s, uint64_t i_pos )
         if( i != p_sys->i_list_index && i != 0 )
         {
             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 )
         {



More information about the vlc-commits mailing list