[FFmpeg-cvslog] avutil/x86/bswap: Remove warning about bswap intrinsics with msvc.

Matt Oliver git at videolan.org
Mon Nov 23 13:04:41 CET 2015


ffmpeg | branch: master | Matt Oliver <protogonoi at gmail.com> | Mon Nov 23 23:03:32 2015 +1100| [e9ec28c95ef68543648073bb9e1531bfc7c85048] | committer: Matt Oliver

avutil/x86/bswap: Remove warning about bswap intrinsics with msvc.

Signed-off-by: Matt Oliver <protogonoi at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e9ec28c95ef68543648073bb9e1531bfc7c85048
---

 libavutil/x86/bswap.h |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavutil/x86/bswap.h b/libavutil/x86/bswap.h
index 11d143b..ffa59e4 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"
 



More information about the ffmpeg-cvslog mailing list