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

Remove access2 non splitted fallback. "://" cannot occur in a file path

(see MRLSplit), so this has become useless, if not inconsistent.
Signed-off-by: default avatarRémi Denis-Courmont <rem@videolan.org>
parent 4c685fc5
...@@ -2303,17 +2303,6 @@ static int InputSourceInit( input_thread_t *p_input, ...@@ -2303,17 +2303,6 @@ static int InputSourceInit( input_thread_t *p_input,
psz_access, psz_demux, psz_path, psz_access, psz_demux, psz_path,
p_input->b_preparsing ); 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 ) if( in->p_access == NULL )
{ {
msg_Err( p_input, "open of `%s' failed: %s", psz_mrl, msg_Err( p_input, "open of `%s' failed: %s", psz_mrl,
......
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