]> git.sesse.net Git - vlc/commitdiff
Use stream_t path instead of access_t one.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 25 Jan 2009 16:29:37 +0000 (17:29 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 25 Jan 2009 16:46:10 +0000 (17:46 +0100)
src/input/input.c

index a08542ecdcde160a318f6793c978d1bcd1f491f5..53b6caf91f99f9c150133f541ac74518fa098ab2 100644 (file)
@@ -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