]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/swscale.h
nutdec: fix type of intermediate variable for ts calculation.
[ffmpeg] / libswscale / swscale.h
index ba781803dd60823a4f0f2f9a3925c8f605f62956..a9e803db4375105cf6aeeeaf7eee0059f4cae1f3 100644 (file)
@@ -27,6 +27,8 @@
  *     external api for the swscale stuff
  */
 
+#include <stdint.h>
+
 #include "libavutil/avutil.h"
 #include "libavutil/log.h"
 #include "libavutil/pixfmt.h"
@@ -82,7 +84,10 @@ const char *swscale_license(void);
  * are only provided for API compatibility.
  */
 #define SWS_CPU_CAPS_MMX      0x80000000
+#define SWS_CPU_CAPS_MMXEXT   0x20000000
+#if LIBSWSCALE_VERSION_MAJOR < 3
 #define SWS_CPU_CAPS_MMX2     0x20000000
+#endif
 #define SWS_CPU_CAPS_3DNOW    0x40000000
 #define SWS_CPU_CAPS_ALTIVEC  0x10000000
 #define SWS_CPU_CAPS_BFIN     0x01000000