summaryrefslogtreecommitdiff
path: root/libavformat/os_support.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-13 15:35:50 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-13 15:35:50 +0200
commite3e09f2bad12fae4d2449cebb6130e2cf2266083 (patch)
tree4e62dffcef37727e4cfa2507bacd5b9fb225341d /libavformat/os_support.h
parentc942e8b1d75243b97db24e0c75f7d5c7b9d585eb (diff)
parentca6b544ac9d07dcd4d151d5729f0bf52f4f8653d (diff)
downloadffmpeg-e3e09f2bad12fae4d2449cebb6130e2cf2266083.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: os_support: Choose between direct.h and io.h using a configure check os_support: Include io.h instead of direct.h on mingw32ce x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared swscale: Remove two bogus asserts ac3: move ac3_downmix() from dsputil to ac3dsp lavr/audio_mix_matrix: acknowledge the existence of LFE2. mlp_parser: avoid mapping multiple disctinct TrueHD channels to the same Libav channel. lavu/audioconvert: add a second low frequency channel. Conflicts: doc/APIchanges libavcodec/ac3dsp.c libavcodec/ac3dsp.h libavcodec/mlp_parser.c libavutil/audioconvert.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/os_support.h')
-rw-r--r--libavformat/os_support.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 7e9a45ad41..589eb7ee5e 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -48,7 +48,11 @@
#endif /* defined(__MINGW32__) && !defined(__MINGW32CE__) */
#ifdef _WIN32
+#if HAVE_DIRECT_H
#include <direct.h>
+#elif HAVE_IO_H
+#include <io.h>
+#endif
#define mkdir(a, b) _mkdir(a)
#else
#include <sys/stat.h>