aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2016-07-12 00:39:12 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2016-07-12 00:39:12 +0100
commitdf1dc52195a5ccd43230f89c7bf24f77942e6f60 (patch)
treec03fedd9ff5a599120e9a96ee104e4d627b62504
parent209456292309e28139732ec914b970cea71094c3 (diff)
downloadffmpeg-df1dc52195a5ccd43230f89c7bf24f77942e6f60.tar.gz
diracdsp_init: add missing ARCH_X86_64 check
That SIMD is still x86_64 only for now. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
-rw-r--r--libavcodec/x86/diracdsp_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/diracdsp_init.c b/libavcodec/x86/diracdsp_init.c
index 43aab6a863..d7c7cd1657 100644
--- a/libavcodec/x86/diracdsp_init.c
+++ b/libavcodec/x86/diracdsp_init.c
@@ -192,6 +192,8 @@ void ff_diracdsp_init_x86(DiracDSPContext* c)
if (EXTERNAL_SSE4(mm_flags)) {
c->dequant_subband[1] = ff_dequant_subband_32_sse4;
+#if ARCH_X86_64
c->put_signed_rect_clamped[1] = ff_put_signed_rect_clamped_10_sse4;
+#endif
}
}