Playlist is always true here
authorRémi Denis-Courmont <rem@videolan.org>
Mon, 1 Oct 2007 15:33:24 +0000 (15:33 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Mon, 1 Oct 2007 15:33:24 +0000 (15:33 +0000)
modules/control/http/http.c

index 3ed2a8b..4995160 100644 (file)
@@ -465,17 +465,13 @@ static void Run( intf_thread_t *p_intf )
         /* Manage the input part */
         if( p_sys->p_input == NULL )
         {
-            if( p_sys->p_playlist )
-            {
-                p_sys->p_input = p_sys->p_playlist->p_input;
-            }
+            p_sys->p_input = p_sys->p_playlist->p_input;
         }
         else if( p_sys->p_input->b_dead || p_sys->p_input->b_die )
         {
             p_sys->p_input = NULL;
         }
 
-
         /* Wait a bit */
         msleep( INTF_IDLE_SLEEP );
     }