aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/x86/output.asm
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-02-14 12:03:55 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-02-14 12:03:55 +0100
commit186923758ddda054ab50446d24dd51f9fa9fd052 (patch)
tree603e35b0c927cd695e225bbf5277fd4bd4deea50 /libswscale/x86/output.asm
parent1fbd905bbb4ca4c8e15030bb80b6188ef4b0e135 (diff)
downloadffmpeg-186923758ddda054ab50446d24dd51f9fa9fd052.tar.gz
Fix compilation with old yasm that does not support AVX.
Diffstat (limited to 'libswscale/x86/output.asm')
-rw-r--r--libswscale/x86/output.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/x86/output.asm b/libswscale/x86/output.asm
index 646a11dbab..11e89a4269 100644
--- a/libswscale/x86/output.asm
+++ b/libswscale/x86/output.asm
@@ -264,7 +264,7 @@ yuv2planeX_fn 9, 7, 5
yuv2planeX_fn 10, 7, 5
yuv2planeX_fn 16, 8, 5
-%ifdef HAVE_AVX
+%if HAVE_AVX
INIT_XMM avx
yuv2planeX_fn 8, 10, 7
yuv2planeX_fn 9, 7, 5
@@ -404,7 +404,7 @@ yuv2plane1_fn 16, 6, 3
INIT_XMM sse4
yuv2plane1_fn 16, 5, 3
-%ifdef HAVE_AVX
+%if HAVE_AVX
INIT_XMM avx
yuv2plane1_fn 8, 5, 5
yuv2plane1_fn 9, 5, 3