vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Mon Feb 12 
23:18:56 2018 +0200| [ecedf7ff6606d89da3fc6df89b3323861899fec7] | committer: 
Rémi Denis-Courmont

file out: remove dead code

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

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

diff --git a/modules/access_output/file.c b/modules/access_output/file.c
index fbefce0be8..da419f2810 100644
--- a/modules/access_output/file.c
+++ b/modules/access_output/file.c
@@ -236,12 +236,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, "no file name specified" );
-        return VLC_EGENERIC;
-    }
-
     bool overwrite = var_GetBool (p_access, SOUT_CFG_PREFIX"overwrite");
     bool append = var_GetBool( p_access, SOUT_CFG_PREFIX "append" );
 

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

Reply via email to