[vlc-devel] commit: Remove access2 non splitted fallback. "://" cannot occur in a file path ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Mar 4 21:21:37 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Tue Mar  4 21:55:53 2008 +0200| [e065942ca349b3f822edf732274885f96fc6b9ca]

Remove access2 non splitted fallback. "://" cannot occur in a file path
(see MRLSplit), so this has become useless, if not inconsistent.

Signed-off-by: Rémi Denis-Courmont <rem at videolan.org>

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

 src/input/input.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index 0e3ba0e..e8da57f 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -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,




More information about the vlc-devel mailing list