[libav-devel] [PATCH 2/2] Fixed including libavutil header under Visual Studio

Sam Lantinga slouken at libsdl.org
Fri Nov 1 18:03:31 CET 2013


---
 libavutil/common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/common.h b/libavutil/common.h
index caa6b19..b445adb 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -27,7 +27,9 @@
 #define AVUTIL_COMMON_H
 
 #include <errno.h>
+#ifndef _MSC_VER
 #include <inttypes.h>
+#endif
 #include <limits.h>
 #include <math.h>
 #include <stdio.h>
-- 
1.8.1.2



More information about the libav-devel mailing list