[vlc-commits] gather: remove dead code

Rémi Denis-Courmont git at videolan.org
Wed Mar 4 21:19:43 CET 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar  3 23:15:50 2020 +0200| [b05cc2467d873e304d4a7f3f8cbb5d125f94d6b1] | committer: Rémi Denis-Courmont

gather: remove dead code

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

 modules/stream_out/gather.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/modules/stream_out/gather.c b/modules/stream_out/gather.c
index bcbff9803d..4751bfdadd 100644
--- a/modules/stream_out/gather.c
+++ b/modules/stream_out/gather.c
@@ -80,11 +80,6 @@ static int Open( vlc_object_t *p_this )
     if( p_sys == NULL )
         return VLC_EGENERIC;
 
-    if( !p_stream->p_next )
-    {
-        free( p_sys );
-        return VLC_EGENERIC;
-    }
     p_stream->pf_add    = Add;
     p_stream->pf_del    = Del;
     p_stream->pf_send   = Send;



More information about the vlc-commits mailing list