[FFmpeg-devel] [PATCH] lavu/riscv: fix typo

Rémi Denis-Courmont remi at remlab.net
Thu Oct 26 19:04:58 EEST 2023


---
 libavutil/riscv/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
2.42.0



More information about the ffmpeg-devel mailing list