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

Rémi Denis-Courmont remi at remlab.net
Wed Jun 26 21:45:35 EEST 2024


Le tiistaina 25. kesäkuuta 2024, 11.58.00 EEST J. Dekker a écrit :
> 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
>      /*

LGTM

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the ffmpeg-devel mailing list