You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
swscale: bury one more piece of inline asm under HAVE_INLINE_ASM.
This commit is contained in:
@@ -661,7 +661,7 @@ static int swScale(SwsContext *c, const uint8_t *src[],
|
|||||||
if (isPlanar(dstFormat) && isALPHA(dstFormat) && !alpPixBuf)
|
if (isPlanar(dstFormat) && isALPHA(dstFormat) && !alpPixBuf)
|
||||||
fillPlane(dst[3], dstStride[3], dstW, dstY - lastDstY, lastDstY, 255);
|
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)
|
if (av_get_cpu_flags() & AV_CPU_FLAG_MMX2)
|
||||||
__asm__ volatile ("sfence" ::: "memory");
|
__asm__ volatile ("sfence" ::: "memory");
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user