[vlc-commits] shout: remove dead code

Rémi Denis-Courmont git at videolan.org
Mon Feb 12 22:19:30 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 12 23:19:13 2018 +0200| [e55bdd048ab9670fb6c7195779dd24064ce0ceb7] | committer: Rémi Denis-Courmont

shout: remove dead code

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

 modules/access_output/shout.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/access_output/shout.c b/modules/access_output/shout.c
index 59a5fe3bd1..70139454bc 100644
--- a/modules/access_output/shout.c
+++ b/modules/access_output/shout.c
@@ -176,13 +176,6 @@ static int Open( vlc_object_t *p_this )
 
     config_ChainParse( p_access, SOUT_CFG_PREFIX, ppsz_sout_options, p_access->p_cfg );
 
-    if( !p_access->psz_path )
-    {
-        msg_Err( p_access,
-                 "please specify url=user:password at host:port/mountpoint" );
-        return VLC_EGENERIC;
-    }
-
     vlc_UrlParse( &url , p_access->psz_path );
     if( url.i_port <= 0 )
         url.i_port = 8000;



More information about the vlc-commits mailing list