]> git.sesse.net Git - vlc/blobdiff - modules/access_output/file.c
macosx_dialog_provider: b_hide is gone.
[vlc] / modules / access_output / file.c
index 6a3cd86d7a7d95873ef64794799fee37da4a8937..3bb110d826dbcb56042c3948213f8ecdf83902c5 100644 (file)
@@ -31,7 +31,6 @@
 #endif
 
 #include <sys/types.h>
-#include <sys/stat.h>
 #include <time.h>
 #include <fcntl.h>
 #include <errno.h>
@@ -41,7 +40,7 @@
 #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>
@@ -73,7 +72,7 @@ vlc_module_begin ()
     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 ()
@@ -124,6 +123,7 @@ static int Open( vlc_object_t *p_this )
         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