diff --git a/libavcodec/x86/diracdsp_yasm.asm b/libavcodec/x86/diracdsp_yasm.asm index 60edac999e..72f57e6049 100644 --- a/libavcodec/x86/diracdsp_yasm.asm +++ b/libavcodec/x86/diracdsp_yasm.asm @@ -241,7 +241,7 @@ cglobal add_dirac_obmc%1_%2, 6,6,5, dst, src, stride, obmc, yblen %endm INIT_MMX -%ifndef ARCH_X86_64 +%if ARCH_X86_64 == 0 PUT_RECT mmx ADD_RECT mmx diff --git a/libavcodec/x86/dwt_yasm.asm b/libavcodec/x86/dwt_yasm.asm index 71e7a79b66..ac6c505409 100644 --- a/libavcodec/x86/dwt_yasm.asm +++ b/libavcodec/x86/dwt_yasm.asm @@ -277,7 +277,7 @@ cglobal horizontal_compose_dd97i_ssse3, 3,6,8, b, tmp, w, x, w2, b_w2 REP_RET -%ifndef ARCH_X86_64 +%if ARCH_X86_64 == 0 INIT_MMX COMPOSE_VERTICAL mmx HAAR_HORIZONTAL mmx, 0