[vlc-commits] input: preparsing not only for files

Thomas Guillem git at videolan.org
Tue Jan 13 23:32:46 CET 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jan  8 16:10:02 2015 +0000| [84bc465af520c6b3128a540dce58d56aa23f0940] | committer: Jean-Baptiste Kempf

input: preparsing not only for files

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 at videolan.org>

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

 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 );
     }
 



More information about the vlc-commits mailing list