x86inc: put basicnop under ifdef to prevent compile failure.
authorClément Bœsch <ubitux@gmail.com>
Sat, 7 Jul 2012 20:48:41 +0000 (22:48 +0200)
committerClément Bœsch <ubitux@gmail.com>
Sat, 7 Jul 2012 20:48:43 +0000 (22:48 +0200)
This should fix the NASM box.

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/x86/x86inc.asm

index 08c0975..9a39df6 100644 (file)
@@ -628,9 +628,11 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
         %elifidn %1, sse3
             %define movu lddqu
         %endif
+        %ifdef __YASM_VER__
         %if notcpuflag(mmx2)
             CPU basicnop
         %endif
+        %endif
     %else
         %xdefine SUFFIX
         %undef cpuname