shithub: dav1d

Download patch

ref: 2689dfb5e8e79e22fb3723874893c08381e10afb
parent: 9c68e80932a9a948bf6501f67647ad54b91df974
author: Janne Grunau <janne-vlc@jannau.net>
date: Wed Oct 31 17:06:14 EDT 2018

arm: call dav1d_get_cpu_flags_arm only when asm is enabled

Fix 136.

--- a/src/cpu.c
+++ b/src/cpu.c
@@ -37,7 +37,7 @@
     static uint8_t checked = 0;
 
     if (!checked) {
-#if ARCH_AARCH64 || ARCH_ARM
+#if (ARCH_AARCH64 || ARCH_ARM) && HAVE_ASM
         flags = dav1d_get_cpu_flags_arm();
 #elif ARCH_X86 && HAVE_ASM
         flags = dav1d_get_cpu_flags_x86();