]> git.sesse.net Git - vlc/commitdiff
Removed useless check on input b_eof flag while waiting for decoder's fifos.
authorLaurent Aimar <fenrir@videolan.org>
Mon, 14 Sep 2009 19:05:09 +0000 (21:05 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 14 Sep 2009 21:26:46 +0000 (23:26 +0200)
p_input->b_eof cannot be true at this stage.

src/input/input.c

index 182fdeb8af6cca995dbcd33e9a63c1f8b7c23bcf..740b6079491116f0ee1eed63e0910c3d638962f9 100644 (file)
@@ -788,7 +788,7 @@ static void MainLoop( input_thread_t *p_input )
 
                 i_wakeup = es_out_GetWakeup( p_input->p->p_es_out );
             }
-            else if( !p_input->b_eof && !es_out_GetEmpty( p_input->p->p_es_out ) )
+            else if( !es_out_GetEmpty( p_input->p->p_es_out ) )
             {
                 msg_Dbg( p_input, "waiting decoder fifos to empty" );
                 i_wakeup = mdate() + INPUT_IDLE_SLEEP;