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

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


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

diff --git a/modules/stream_out/transcode/transcode.c b/modules/stream_out/transcode/transcode.c
index a4bdc000e9..d82a9e1cef 100644
--- a/modules/stream_out/transcode/transcode.c
+++ b/modules/stream_out/transcode/transcode.c
@@ -387,11 +387,6 @@ static int Open( vlc_object_t *p_this )
     sout_stream_sys_t *p_sys;
     char              *psz_string;
 
-    if( !p_stream->p_next )
-    {
-        msg_Err( p_stream, "cannot create chain" );
-        return VLC_EGENERIC;
-    }
     p_sys = calloc( 1, sizeof( *p_sys ) );
 
     config_ChainParse( p_stream, SOUT_CFG_PREFIX, ppsz_sout_options,
-- 
2.25.1



More information about the vlc-devel mailing list