Browse Source

cpu.h: define AV_CPU_FLAG_MMX2 for libavutil major 52

tags/n1.1
Janne Grunau 13 years ago
parent
commit
8f5587c3d0
2 changed files with 4 additions and 1 deletions
  1. +1
    -1
      libavutil/cpu.h
  2. +3
    -0
      libavutil/version.h

+ 1
- 1
libavutil/cpu.h View File

@@ -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


+ 3
- 0
libavutil/version.h View File

@@ -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