[FFmpeg-cvslog] dirac_yasm: fix linking failure due to %ifndef

Michael Niedermayer git at videolan.org
Sat Jan 28 09:16:54 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jan 28 09:06:03 2012 +0100| [81ab42a334c3f7b7e23a259382fbd81384656c44] | committer: Michael Niedermayer

dirac_yasm: fix linking failure due to %ifndef

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=81ab42a334c3f7b7e23a259382fbd81384656c44
---

 libavcodec/x86/diracdsp_yasm.asm |    2 +-
 libavcodec/x86/dwt_yasm.asm      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/x86/diracdsp_yasm.asm b/libavcodec/x86/diracdsp_yasm.asm
index 60edac9..72f57e6 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 71e7a79..ac6c505 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



More information about the ffmpeg-cvslog mailing list