/*****************************************************************************
* file.c
*****************************************************************************
- * Copyright (C) 2001, 2002 VideoLAN
+ * Copyright (C) 2001, 2002 the VideoLAN team
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
#ifndef STDOUT_FILENO
# define STDOUT_FILENO 1
#endif
+#ifndef O_LARGEFILE
+# define O_LARGEFILE 0
+#endif
/*****************************************************************************
* Module descriptor
vlc_module_begin();
set_description( _("File stream output") );
+ set_shortname( N_("File" ));
set_capability( "sout access", 50 );
set_category( CAT_SOUT );
set_subcategory( SUBCAT_SOUT_ACO );
msg_Err( p_access, "no file name specified" );
return VLC_EGENERIC;
}
- i_flags = O_RDWR|O_CREAT;
+ i_flags = O_RDWR|O_CREAT|O_LARGEFILE;
var_Get( p_access, SOUT_CFG_PREFIX "append", &val );
if( val.b_bool )