]> git.sesse.net Git - vlc/commitdiff
Remove access2 non splitted fallback. "://" cannot occur in a file path
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 4 Mar 2008 19:55:53 +0000 (21:55 +0200)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 4 Mar 2008 19:55:53 +0000 (21:55 +0200)
(see MRLSplit), so this has become useless, if not inconsistent.

Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
src/input/input.c

index 0e3ba0efb539e5e0c4500f1b6c2c5ec549de731b..e8da57f02755261f2973006b891953598b377be4 100644 (file)
@@ -2303,17 +2303,6 @@ static int InputSourceInit( input_thread_t *p_input,
                                         psz_access, psz_demux, psz_path,
                                         p_input->b_preparsing );
         }
-        /* access failed, maybe our access detection was wrong.
-         * Retry with the full name */
-        if( in->p_access == NULL && strchr( psz_mrl, ':' ) )
-        {
-            msg_Dbg( p_input, "retrying with access `' demux `' path `%s'",
-                     psz_mrl );
-            psz_demux =  "" ; 
-            in->p_access = access2_New( p_input,
-                                         "", "", psz_mrl,
-                                         p_input->b_preparsing );
-        }
         if( in->p_access == NULL )
         {
             msg_Err( p_input, "open of `%s' failed: %s", psz_mrl,