[FFmpeg-devel] [PATCH 2/2] lavc/ac3dsp: fix R-V HAVE_RVV scope issue

Jun Zhao mypopy at gmail.com
Wed Jan 8 13:42:15 EET 2025


From: Jun Zhao <mypopydev at gmail.com>

fix R-V HAVE_RVV scope issue

Signed-off-by: Jun Zhao <barryjzhao at 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
 }
-- 
2.25.1



More information about the ffmpeg-devel mailing list