[vlc-commits] file out: remove dead code

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


vlc | branch: master | Rémi Denis-Courmont <remi at 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" );
 



More information about the vlc-commits mailing list