diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-09-04 08:30:16 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-09-07 18:16:04 +0200 |
commit | 1169f0d0afc0454633cfcfad73643f0458521c67 (patch) | |
tree | c58d3888c6bbd2e4eb014ddfce38bf9044d2312b /libswscale | |
parent | 8cb7ed5562c438388b1dd7dc7d10c26f54c740b5 (diff) | |
download | ffmpeg-1169f0d0afc0454633cfcfad73643f0458521c67.tar.gz |
x86: more specific checks for availability of required assembly capabilities
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 94f51cf5cb..4f0a049b3d 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -661,7 +661,7 @@ 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_MMXEXT && HAVE_INLINE_ASM +#if HAVE_MMXEXT_INLINE if (av_get_cpu_flags() & AV_CPU_FLAG_MMXEXT) __asm__ volatile ("sfence" ::: "memory"); #endif |