Browse Source

PPC: Make sure that COMPILE_C is not deactivated if RUNTIME_CPUDETECT is set.

Originally committed as revision 29388 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
tags/v0.6
Diego Biurrun 16 years ago
parent
commit
e912c13ad7
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libswscale/swscale.c

+ 1
- 2
libswscale/swscale.c View File

@@ -1301,13 +1301,12 @@ static inline void monoblack2Y(uint8_t *dst, const uint8_t *src, long width, uin


//Note: we have C, MMX, MMX2, 3DNOW versions, there is no 3DNOW+MMX2 one //Note: we have C, MMX, MMX2, 3DNOW versions, there is no 3DNOW+MMX2 one
//Plain C versions //Plain C versions
#if !HAVE_MMX || CONFIG_RUNTIME_CPUDETECT || !CONFIG_GPL
#if (!HAVE_MMX && !HAVE_ALTIVEC) || CONFIG_RUNTIME_CPUDETECT || !CONFIG_GPL
#define COMPILE_C #define COMPILE_C
#endif #endif


#if ARCH_PPC #if ARCH_PPC
#if (HAVE_ALTIVEC || CONFIG_RUNTIME_CPUDETECT) && CONFIG_GPL #if (HAVE_ALTIVEC || CONFIG_RUNTIME_CPUDETECT) && CONFIG_GPL
#undef COMPILE_C
#define COMPILE_ALTIVEC #define COMPILE_ALTIVEC
#endif #endif
#endif //ARCH_PPC #endif //ARCH_PPC


Loading…
Cancel
Save