[FFmpeg-cvslog] diracdsp_init: add missing ARCH_X86_64 check

Rostislav Pehlivanov git at videolan.org
Tue Jul 12 01:40:10 CEST 2016


ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Tue Jul 12 00:39:12 2016 +0100| [df1dc52195a5ccd43230f89c7bf24f77942e6f60] | committer: Rostislav Pehlivanov

diracdsp_init: add missing ARCH_X86_64 check

That SIMD is still x86_64 only for now.

Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=df1dc52195a5ccd43230f89c7bf24f77942e6f60
---

 libavcodec/x86/diracdsp_init.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/x86/diracdsp_init.c b/libavcodec/x86/diracdsp_init.c
index 43aab6a..d7c7cd1 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
     }
 }



More information about the ffmpeg-cvslog mailing list