[vlc-devel] [PATCH 3/7] input: preparsing not only for files

Thomas Guillem thomas at gllm.fr
Thu Jan 8 18:10:02 CET 2015


It's safe since preparser won't be called for network files if
META_REQUEST_OPTION_SCOPE_NETWORK option is not set.
---
 src/input/input.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index aa5a835..48e085d 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -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 );
     }
 
-- 
2.1.3




More information about the vlc-devel mailing list