Diego Biurrun <[email protected]> writes:

> @@ -661,10 +662,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_MMXEXT && HAVE_INLINE_ASM
> -    if (av_get_cpu_flags() & AV_CPU_FLAG_MMXEXT)
> +    if (INLINE_MMXEXT(av_get_cpu_flags()))
>          __asm__ volatile ("sfence" ::: "memory");
> -#endif

This fails to compile if the compiler does not support inline asm.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to