avutil/x86/bswap: Remove warning about bswap intrinsics with msvc.
authorMatt Oliver <protogonoi@gmail.com>
Mon, 23 Nov 2015 12:03:32 +0000 (23:03 +1100)
committerMatt Oliver <protogonoi@gmail.com>
Mon, 23 Nov 2015 12:03:32 +0000 (23:03 +1100)
Signed-off-by: Matt Oliver <protogonoi@gmail.com>
libavutil/x86/bswap.h

index 11d143b9c98825e551eeff1ea5899bd131a1f6e6..ffa59e4c82dad33ca8791e118676fdc65256713b 100644 (file)
@@ -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"