]> git.sesse.net Git - vlc/commitdiff
[vlc] http streaming interface bug (with fix) by Mitch at hasbox dot com
authorAntoine Cellerier <dionoea@videolan.org>
Fri, 13 Oct 2006 22:35:49 +0000 (22:35 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Fri, 13 Oct 2006 22:35:49 +0000 (22:35 +0000)
(needs backporting)

modules/control/http/macro.c

index d2bdaf6228f9b6601f0036b17a06d8c0a15d299c..8c3eae1cefdfa689786bf3e0892acd1fa0c59ca1 100644 (file)
@@ -331,7 +331,7 @@ void E_(MacroDo)( httpd_file_sys_t *p_args,
 
                     p_input = E_(MRLParse)( p_intf, mrl, psz_name );
 
-                    if( !p_input || p_input->psz_uri ||
+                    if( !p_input || !p_input->psz_uri ||
                         !*p_input->psz_uri )
                     {
                         msg_Dbg( p_intf, "invalid requested mrl: %s", mrl );