ref: 1400b028cf4e24eaeab74f036f04ea8fa79240fa
parent: fb8078a676711acdad749f4d478ee72d8aa6c471
author: Janne Grunau <janne-vlc@jannau.net>
date: Sat Oct 20 17:00:07 EDT 2018
looprestoration/x86: use x86 dsp init only if HAVE_ASM is 1
--- a/src/looprestoration.c
+++ b/src/looprestoration.c
@@ -571,7 +571,7 @@
c->wiener = wiener_c;
c->selfguided = selfguided_c;
-#if ARCH_X86 && BITDEPTH == 8
+#if HAVE_ASM && ARCH_X86 && BITDEPTH == 8
bitfn(dav1d_loop_restoration_dsp_init_x86)(c);
#endif
}