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

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


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

diff --git a/modules/stream_out/autodel.c b/modules/stream_out/autodel.c
index 02ae06b1a2..8b0291309c 100644
--- a/modules/stream_out/autodel.c
+++ b/modules/stream_out/autodel.c
@@ -82,12 +82,6 @@ static int Open( vlc_object_t *p_this )
 
     p_sys          = malloc( sizeof( sout_stream_sys_t ) );
 
-    if( !p_stream->p_next )
-    {
-        msg_Err( p_stream, "cannot create chain" );
-        free( p_sys );
-        return VLC_EGENERIC;
-    }
     p_sys->pp_es = NULL;
     p_sys->i_es_num = 0;
 
-- 
2.25.1



More information about the vlc-devel mailing list