diff --git a/libavcodec/x86/h264_qpel_mmx.c b/libavcodec/x86/h264_qpel_mmx.c index 4dac05cfa3..66dee45134 100644 --- a/libavcodec/x86/h264_qpel_mmx.c +++ b/libavcodec/x86/h264_qpel_mmx.c @@ -1294,6 +1294,6 @@ QPEL16_OP(mc31, MMX)\ QPEL16_OP(mc32, MMX)\ QPEL16_OP(mc33, MMX) -#if ARCH_X86_32 // ARCH_X86_64 implies sse2+ +#if HAVE_YASM && ARCH_X86_32 // ARCH_X86_64 implies sse2+ QPEL16(mmxext) #endif