[FFmpeg-devel] [PATCH] avutil/riscv/cpu: fix __riscv_v_min_vlen typo

J. Dekker jdek at itanimul.li
Tue Jun 25 11:58:00 EEST 2024


Signed-off-by: J. Dekker <jdek at itanimul.li>
---
 libavutil/riscv/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/riscv/cpu.h b/libavutil/riscv/cpu.h
index bb8e08aa14..191e4478c5 100644
--- a/libavutil/riscv/cpu.h
+++ b/libavutil/riscv/cpu.h
@@ -65,7 +65,7 @@ static inline size_t ff_get_rv_vlenb(void)
 static inline bool ff_rv_vlen_least(unsigned int bits)
 {
 #ifdef __riscv_v_min_vlen
-    if (bits <= __riscv_min_vlen)
+    if (bits <= __riscv_v_min_vlen)
         return true;
 #else
     /*
-- 
2.44.1



More information about the ffmpeg-devel mailing list