]> git.sesse.net Git - vlc/commitdiff
input: preparsing not only for files
authorThomas Guillem <thomas@gllm.fr>
Thu, 8 Jan 2015 16:10:02 +0000 (16:10 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 13 Jan 2015 22:28:17 +0000 (23:28 +0100)
It's safe since preparser won't be called for network files if
META_REQUEST_OPTION_SCOPE_NETWORK option is not set.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/input/input.c

index aa5a835128fed3d90937a2c68067c86a5f243585..48e085da4987992accf7fd1d222a8175d5c356e4 100644 (file)
@@ -2225,11 +2225,8 @@ static int InputSourceInit( input_thread_t *p_input,
     }
     else
     {
-        /* Preparsing is only for file:// */
         if( *psz_demux )
             goto error;
-        if( strcmp( psz_access, "file" ) )
-            goto error;
         msg_Dbg( p_input, "trying to pre-parse %s",  psz_path );
     }