[vlc-commits] autodel: remove dead code

Rémi Denis-Courmont git at videolan.org
Wed Mar 4 21:19:39 CET 2020


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar  3 23:15:15 2020 +0200| [11c0709ff901fce00eccccebd37da5d2f21976a3] | committer: Rémi Denis-Courmont

autodel: remove dead code

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

 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;
 



More information about the vlc-commits mailing list