Originally committed as revision 16553 to svn://svn.ffmpeg.org/ffmpeg/trunk
roundf
sdl
sdl_video_size
+ setmode
socklen_t
soundcard_h
poll_h
check_func memalign
check_func mkstemp
check_func posix_memalign
+check_func_headers io.h setmode
check_func_headers windows.h GetProcessTimes
check_header conio.h
#include "libavutil/avstring.h"
#include "avformat.h"
#include <fcntl.h>
+#ifdef HAVE_SETMODE
+#include <io.h>
+#endif
#include <unistd.h>
#include <sys/time.h>
#include <stdlib.h>
fd = 0;
}
}
-#ifdef O_BINARY
+#ifdef HAVE_SETMODE
setmode(fd, O_BINARY);
#endif
h->priv_data = (void *)(size_t)fd;