Le 8 janvier 2025 19:42:15 GMT+08:00, Jun Zhao <myp...@gmail.com> a écrit :
>From: Jun Zhao <mypopy...@gmail.com>
>
>fix R-V HAVE_RVV scope issue
>
>Signed-off-by: Jun Zhao <barryjz...@tencent.com>
>---
> libavcodec/riscv/ac3dsp_init.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/libavcodec/riscv/ac3dsp_init.c b/libavcodec/riscv/ac3dsp_init.c
>index 24b3881854..f68a592839 100644
>--- a/libavcodec/riscv/ac3dsp_init.c
>+++ b/libavcodec/riscv/ac3dsp_init.c
>@@ -65,8 +65,8 @@ av_cold void ff_ac3dsp_init_riscv(AC3DSPContext *c)
>                 c->sum_square_butterfly_int32 =
>                     ff_sum_square_butterfly_int32_rvv;
> #  endif
>-# endif
>         }
>     }
>+# endif
> #endif
> }

Probably correct.

Though this should never be a problem in the first place because any sane NDK 
will have RVV support (compiling RV with old Clang versions is *not* sane).
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to