[FFmpeg-devel] [PATCH] Correct braces bug in ac3dsp_init.c for RISCV

Gaspard COURCHINOUX gaspard.courchinoux at outlook.com
Fri Dec 20 17:20:33 EET 2024


Hi,

This patch corrects a braces bug when RVV is disabled.

Thanks,

Gaspard

Signed-off-by: Gaspard COURCHINOUX <gaspard.courchinoux at outlook.com>
---
  libavcodec/riscv/ac3dsp_init.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/riscv/ac3dsp_init.c b/libavcodec/riscv/ac3dsp_init.c
index 24b3881854..e74c1a1a47 100644
--- a/libavcodec/riscv/ac3dsp_init.c
+++ b/libavcodec/riscv/ac3dsp_init.c
@@ -65,8 +65,9 @@ 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.34.1



More information about the ffmpeg-devel mailing list