diff mbox series

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

Message ID 20240625085800.113777-1-jdek@itanimul.li
State New
Headers show
Series [FFmpeg-devel] avutil/riscv/cpu: fix __riscv_v_min_vlen typo | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

J. Dekker June 25, 2024, 8:58 a.m. UTC
Signed-off-by: J. Dekker <jdek@itanimul.li>
---
 libavutil/riscv/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Niklas Haas June 26, 2024, 10:49 a.m. UTC | #1
On Tue, 25 Jun 2024 10:58:00 +0200 "J. Dekker" <jdek@itanimul.li> wrote:
> Signed-off-by: J. Dekker <jdek@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
>      /*

LGTM. Seems like an obvious typo.

> -- 
> 2.44.1
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
Rémi Denis-Courmont June 26, 2024, 6:45 p.m. UTC | #2
Le tiistaina 25. kesäkuuta 2024, 11.58.00 EEST J. Dekker a écrit :
> Signed-off-by: J. Dekker <jdek@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
>      /*

LGTM
diff mbox series

Patch

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
     /*