[vlc-commits] live555: remove useless error case

Rémi Denis-Courmont git at videolan.org
Thu Feb 5 21:40:58 CET 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Feb  5 20:18:00 2015 +0200| [02275b63984d69def28c14b90bf4c8026260f667] | committer: Rémi Denis-Courmont

live555: remove useless error case

This cargo cult was introduced in d306828bc007af49a1248702096f4b6b8873aea5
without any explanation.

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

 modules/access/live555.cpp |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index d49fc6d..f84bff1 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -722,12 +722,6 @@ static int SessionsSetup( demux_t *p_demux )
         Boolean bInit;
         live_track_t *tk;
 
-        if( !vlc_object_alive (p_demux) )
-        {
-            delete iter;
-            return VLC_EGENERIC;
-        }
-
         /* Value taken from mplayer */
         if( !strcmp( sub->mediumName(), "audio" ) )
             i_receive_buffer = 100000;



More information about the vlc-commits mailing list