vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Tue Mar  3 
23:16:04 2020 +0200| [e37191e86e37abc6d65d2ce53acefa3c891a84c1] | committer: 
Rémi Denis-Courmont

setid: remove dead code

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e37191e86e37abc6d65d2ce53acefa3c891a84c1
---

 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;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to