aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-07-25 19:27:03 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2012-07-29 17:14:48 -0700
commit8e5d71d1109bb509ae75d04682f326fe740a413f (patch)
tree631432603c3971e54dd6fec57a520907df86ebfe
parent29d70274ecff6d39c96b3bcdd263102c4a4e6e06 (diff)
downloadffmpeg-8e5d71d1109bb509ae75d04682f326fe740a413f.tar.gz
swscale: bury one more piece of inline asm under HAVE_INLINE_ASM.
-rw-r--r--libswscale/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 5cfa7f237d..0f8ef2b15c 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_MMX2
+#if HAVE_MMX2 && HAVE_INLINE_ASM
if (av_get_cpu_flags() & AV_CPU_FLAG_MMX2)
__asm__ volatile ("sfence" ::: "memory");
#endif