diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-07-08 18:42:12 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-08-03 22:51:05 +0200 |
commit | 239fdf1b4a3dd9decad157d4694837cffa917021 (patch) | |
tree | a92ed88dd8a7bf975f10ff638f1fa2d256de657e /libswscale/swscale.c | |
parent | 66adb7ce1bc1cc5e3f1c4b1cd9f20ac68086a486 (diff) |
x86: build: replace mmx2 by mmxext
Refactoring mmx2/mmxext YASM code with cpuflags will force renames.
So switching to a consistent naming scheme beforehand is sensible.
The name "mmxext" is more official and widespread and also the name
of the CPU flag, as reported e.g. by the Linux kernel.
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 0f8ef2b15c..9da250e1d1 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -661,8 +661,8 @@ static int swScale(SwsContext *c, const uint8_t *src[], if (isPlanar(dstFormat) && isALPHA(dstFormat) && !alpPixBuf) fillPlane(dst[3], dstStride[3], dstW, dstY - lastDstY, lastDstY, 255); -#if HAVE_MMX2 && HAVE_INLINE_ASM - if (av_get_cpu_flags() & AV_CPU_FLAG_MMX2) +#if HAVE_MMXEXT && HAVE_INLINE_ASM + if (av_get_cpu_flags() & AV_CPU_FLAG_MMXEXT) __asm__ volatile ("sfence" ::: "memory"); #endif emms_c(); |