]> git.sesse.net Git - vlc/commitdiff
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 3ed2a8bb8836192712ae08069dd218bfa073dc84..4995160f274228ff4c203c788a20a2796225f99a 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 );
     }