[vlc-devel] [PATCH 8/9] setid: remove dead code

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


---
 modules/stream_out/setid.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/stream_out/setid.c b/modules/stream_out/setid.c
index 7ae348f27f..72eea63dc5 100644
--- a/modules/stream_out/setid.c
+++ b/modules/stream_out/setid.c
@@ -115,12 +115,6 @@ static int OpenCommon( vlc_object_t *p_this )
     sout_stream_t     *p_stream = (sout_stream_t*)p_this;
     sout_stream_sys_t *p_sys;
 
-    if( !p_stream->p_next )
-    {
-        msg_Err( p_stream, "cannot create chain" );
-        return VLC_EGENERIC;
-    }
-
     p_sys = malloc( sizeof( sout_stream_sys_t ) );
     if( unlikely( !p_sys ) )
         return VLC_ENOMEM;
-- 
2.25.1



More information about the vlc-devel mailing list