summaryrefslogtreecommitdiff
path: root/libavcodec/x86/dnxhdenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-09-04 08:30:16 +0200
committerDiego Biurrun <diego@biurrun.de>2012-09-07 18:16:04 +0200
commit1169f0d0afc0454633cfcfad73643f0458521c67 (patch)
treec58d3888c6bbd2e4eb014ddfce38bf9044d2312b /libavcodec/x86/dnxhdenc.c
parent8cb7ed5562c438388b1dd7dc7d10c26f54c740b5 (diff)
x86: more specific checks for availability of required assembly capabilities
Diffstat (limited to 'libavcodec/x86/dnxhdenc.c')
-rw-r--r--libavcodec/x86/dnxhdenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/x86/dnxhdenc.c b/libavcodec/x86/dnxhdenc.c
index c344afec55..43ee246221 100644
--- a/libavcodec/x86/dnxhdenc.c
+++ b/libavcodec/x86/dnxhdenc.c
@@ -24,7 +24,7 @@
#include "libavutil/x86/asm.h"
#include "libavcodec/dnxhdenc.h"
-#if HAVE_INLINE_ASM
+#if HAVE_SSE2_INLINE
static void get_pixels_8x4_sym_sse2(DCTELEM *block, const uint8_t *pixels, int line_size)
{
@@ -52,14 +52,14 @@ static void get_pixels_8x4_sym_sse2(DCTELEM *block, const uint8_t *pixels, int l
);
}
-#endif /* HAVE_INLINE_ASM */
+#endif /* HAVE_SSE2_INLINE */
void ff_dnxhdenc_init_x86(DNXHDEncContext *ctx)
{
-#if HAVE_INLINE_ASM
+#if HAVE_SSE2_INLINE
if (av_get_cpu_flags() & AV_CPU_FLAG_SSE2) {
if (ctx->cid_table->bit_depth == 8)
ctx->get_pixels_8x4_sym = get_pixels_8x4_sym_sse2;
}
-#endif /* HAVE_INLINE_ASM */
+#endif /* HAVE_SSE2_INLINE */
}