[vlc-devel] [PATCH 4/9] bridge: remove dead code

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


---
 modules/stream_out/bridge.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/stream_out/bridge.c b/modules/stream_out/bridge.c
index 7e9c741b18..27e748bba1 100644
--- a/modules/stream_out/bridge.c
+++ b/modules/stream_out/bridge.c
@@ -383,13 +383,6 @@ static int OpenIn( vlc_object_t *p_this )
     if( unlikely( !p_sys ) )
         return VLC_ENOMEM;
 
-    if( !p_stream->p_next )
-    {
-        msg_Err( p_stream, "cannot create chain" );
-        free( p_sys );
-        return VLC_EGENERIC;
-    }
-
     config_ChainParse( p_stream, SOUT_CFG_PREFIX_IN, ppsz_sout_options_in,
                    p_stream->p_cfg );
 
-- 
2.25.1



More information about the vlc-devel mailing list