aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2015-11-23 23:03:32 +1100
committerMatt Oliver <protogonoi@gmail.com>2015-11-23 23:03:32 +1100
commite9ec28c95ef68543648073bb9e1531bfc7c85048 (patch)
tree2ac58af7d21871e8116f05199f78c3f0099490d2
parent56bdf61baa04c4fd8d165f34499115ce0aa97c43 (diff)
downloadffmpeg-e9ec28c95ef68543648073bb9e1531bfc7c85048.tar.gz
avutil/x86/bswap: Remove warning about bswap intrinsics with msvc.
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
-rw-r--r--libavutil/x86/bswap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/x86/bswap.h b/libavutil/x86/bswap.h
index 11d143b9c9..ffa59e4c82 100644
--- a/libavutil/x86/bswap.h
+++ b/libavutil/x86/bswap.h
@@ -25,6 +25,9 @@
#define AVUTIL_X86_BSWAP_H
#include <stdint.h>
+#if defined(_MSC_VER)
+#include <intrin.h>
+#endif
#include "config.h"
#include "libavutil/attributes.h"