aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/x86/idct_sse2_xvid.c
diff options
context:
space:
mode:
authorDiego Biurrun2013-09-16 13:47:35 +0200
committerDiego Biurrun2013-10-05 18:14:58 +0200
commit0b8b2ae5e93d616c2ece59f7175f483154cff918 (patch)
tree4d0b7c0e8fcc0a8bdda79e9e44ad51986258d2ca /libavcodec/x86/idct_sse2_xvid.c
parent4272bb6ef1533846a788c259cc498562d0704444 (diff)
x86: xviddct: Employ more specific ifdefs
This avoids building mmxext and sse2 code when disabled by configure.
Diffstat (limited to 'libavcodec/x86/idct_sse2_xvid.c')
-rw-r--r--libavcodec/x86/idct_sse2_xvid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/idct_sse2_xvid.c b/libavcodec/x86/idct_sse2_xvid.c
index da2c772ad1..50655d6bc0 100644
--- a/libavcodec/x86/idct_sse2_xvid.c
+++ b/libavcodec/x86/idct_sse2_xvid.c
@@ -44,7 +44,7 @@
#include "idct_xvid.h"
#include "dsputil_x86.h"
-#if HAVE_INLINE_ASM
+#if HAVE_SSE2_INLINE
/**
* @file
@@ -405,4 +405,4 @@ void ff_idct_xvid_sse2_add(uint8_t *dest, int line_size, short *block)
ff_add_pixels_clamped_mmx(block, dest, line_size);
}
-#endif /* HAVE_INLINE_ASM */
+#endif /* HAVE_SSE2_INLINE */