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

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


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

diff --git a/modules/stream_out/delay.c b/modules/stream_out/delay.c
index 2c23d87034..524dc9a65e 100644
--- a/modules/stream_out/delay.c
+++ b/modules/stream_out/delay.c
@@ -90,12 +90,6 @@ static int Open( 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 = calloc( 1, sizeof( sout_stream_sys_t ) );
     if( !p_sys )
         return VLC_ENOMEM;
-- 
2.25.1



More information about the vlc-devel mailing list