summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavutil/riscv/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/riscv/cpu.c b/libavutil/riscv/cpu.c
index fa45c0ad83..460d3e9f91 100644
--- a/libavutil/riscv/cpu.c
+++ b/libavutil/riscv/cpu.c
@@ -67,7 +67,7 @@ int ff_get_cpu_flags_riscv(void)
#endif
/* If RV-V is enabled statically at compile-time, check the details. */
-#ifdef __riscv_vectors
+#ifdef __riscv_vector
ret |= AV_CPU_FLAG_RVV_I32;
#if __riscv_v_elen >= 64
ret |= AV_CPU_FLAG_RVV_I64;