]> git.sesse.net Git - vlc/commitdiff
Another input_GetItem assert workarround.
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 19 Aug 2007 17:48:59 +0000 (17:48 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 19 Aug 2007 17:48:59 +0000 (17:48 +0000)
modules/control/http/mvar.c

index f5de49a3e06f2833ccc78d2bf4477df87fbbc187..3ed80b270c9a02bdac5c0a465ff90221f4f17806 100644 (file)
@@ -294,7 +294,7 @@ mvar_t *E_(mvar_InfoSetNew)( intf_thread_t *p_intf, char *name,
     mvar_t *s = E_(mvar_New)( name, "set" );
     int i, j;
 
-    if( p_input == NULL )
+    if( p_input == NULL || p_input->p == NULL /* workarround assert in input_GetItem */ )
     {
         return s;
     }