[vlc-devel] commit: live555: remove tautology ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Jun 16 20:29:06 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Jun 16 21:16:23 2008 +0300| [fed83de55cdaf7f623a16f1051d97d450c44ad63]

live555: remove tautology

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fed83de55cdaf7f623a16f1051d97d450c44ad63
---

 modules/demux/live555.cpp |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index 38257b4..faf92e1 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -1217,11 +1217,8 @@ static int Demux( demux_t *p_demux )
                 return 0;
             }
         }
-        else if( p_sys->i_no_data_ti > 34 )
-        {
-            msg_Err( p_demux, "no data received in 10s, aborting" );
-            return 0;
-        }
+        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 )
     {




More information about the vlc-devel mailing list