#endif
#include <sys/types.h>
-#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <errno.h>
#include <vlc_sout.h>
#include <vlc_block.h>
#include <vlc_charset.h>
-#include "vlc_strings.h"
+#include <vlc_strings.h>
#if defined( WIN32 ) && !defined( UNDER_CE )
# include <io.h>
set_subcategory( SUBCAT_SOUT_ACO )
add_shortcut( "file" )
add_shortcut( "stream" )
- add_bool( SOUT_CFG_PREFIX "append", 0, NULL, APPEND_TEXT,APPEND_LONGTEXT,
+ add_bool( SOUT_CFG_PREFIX "append", false, NULL, APPEND_TEXT,APPEND_LONGTEXT,
true )
set_callbacks( Open, Close )
vlc_module_end ()
msg_Dbg( p_access, "using stdout" );
#else
#warning stdout is not supported on Windows Mobile, but may be used on Windows CE
+ fd = -1;
#endif
}
else