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

Niklas Haas ffmpeg at haasn.xyz
Wed Jun 26 13:49:29 EEST 2024


On Tue, 25 Jun 2024 10:58:00 +0200 "J. Dekker" <jdek at itanimul.li> wrote:
> 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. Seems like an obvious typo.

> -- 
> 2.44.1
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list