diff mbox series

[FFmpeg-devel] lavu/riscv: fix typo

Message ID 20231026160458.28886-1-remi@remlab.net
State Accepted
Commit 04b49fb3c5ad01c91e6724bac1b68e4b47a72c29
Headers show
Series [FFmpeg-devel] lavu/riscv: fix typo | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Rémi Denis-Courmont Oct. 26, 2023, 4:04 p.m. UTC
---
 libavutil/riscv/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sean McGovern Oct. 26, 2023, 5:21 p.m. UTC | #1
On Thu, Oct 26, 2023, 12:05 Rémi Denis-Courmont <remi@remlab.net> wrote:

> ---
>  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
>
> _______________________________________________
> 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".
>

Looks OK to me.

-- Sean McGovern

>
diff mbox series

Patch

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;