cpu.h: define AV_CPU_FLAG_MMX2 for libavutil major 52

pull/8/head
Janne Grunau 12 years ago
parent e6160bda98
commit 8f5587c3d0
  1. 2
      libavutil/cpu.h
  2. 3
      libavutil/version.h

@ -28,7 +28,7 @@
/* lower 16 bits - CPU features */
#define AV_CPU_FLAG_MMX 0x0001 ///< standard MMX
#define AV_CPU_FLAG_MMXEXT 0x0002 ///< SSE integer functions or AMD MMX ext
#if LIBAVUTIL_VERSION_MAJOR < 52
#if FF_API_CPU_FLAG_MMX2
#define AV_CPU_FLAG_MMX2 0x0002 ///< SSE integer functions or AMD MMX ext
#endif
#define AV_CPU_FLAG_3DNOW 0x0004 ///< AMD 3DNOW

@ -76,6 +76,9 @@
#ifndef FF_API_AUDIOCONVERT
#define FF_API_AUDIOCONVERT (LIBAVUTIL_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_CPU_FLAG_MMX2
#define FF_API_CPU_FLAG_MMX2 (LIBAVUTIL_VERSION_MAJOR < 53)
#endif
/**
* @}

Loading…
Cancel
Save