diff --git a/libavutil/tests/cpu.c b/libavutil/tests/cpu.c index abe2b057d7..8c4a9ccad8 100644 --- a/libavutil/tests/cpu.c +++ b/libavutil/tests/cpu.c @@ -165,7 +165,7 @@ int main(int argc, char **argv) print_cpu_flags(cpu_flags_raw, "raw"); print_cpu_flags(cpu_flags_eff, "effective"); printf("threads = %s (cpu_count = %d)\n", threads, cpu_count); -#if ARCH_AARCH64 +#if ARCH_AARCH64 && HAVE_SVE if (cpu_flags_raw & AV_CPU_FLAG_SVE) printf("sve_vector_length = %d\n", 8 * ff_aarch64_sve_length()); #endif