[vlc-devel] [PATCH 7/9] gather: remove dead code

RĂ©mi Denis-Courmont remi at remlab.net
Tue Mar 3 22:37:22 CET 2020


---
 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;
-- 
2.25.1



More information about the vlc-devel mailing list