Live555 demux: fix EOF detection
authorSebastien Escudier <sebastien-devel@celeos.eu>
Mon, 16 Jun 2008 09:17:45 +0000 (11:17 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Thu, 19 Jun 2008 16:05:43 +0000 (19:05 +0300)
Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
modules/demux/live555.cpp

index faf92e1..0b3860d 100644 (file)
@@ -1220,7 +1220,7 @@ static int Demux( demux_t *p_demux )
         msg_Err( p_demux, "no data received in 10s, aborting" );
         return 0;
     }
-    else if( !p_sys->b_multicast && p_sys->b_no_data && p_sys->i_no_data_ti > 34 )
+    else if( !p_sys->b_multicast && p_sys->i_no_data_ti > 34 )
     {
         /* EOF ? */
         msg_Warn( p_demux, "no data received in 10s, eof ?" );