[vlc-commits] transcode: remove dead code
Rémi Denis-Courmont
git at videolan.org
Wed Mar 4 21:19:45 CET 2020
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 3 23:16:15 2020 +0200| [9b1de3a511069d2c7ebe71132f08c51c8124b1c0] | committer: Rémi Denis-Courmont
transcode: remove dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9b1de3a511069d2c7ebe71132f08c51c8124b1c0
---
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,
More information about the vlc-commits
mailing list