From 518d9f0dd43b6ba329a975fe0744a7de5a26f64a Mon Sep 17 00:00:00 2001 From: Peter Ross Date: Mon, 28 Jul 2025 07:59:33 +1000 Subject: [PATCH] avcodec/g728dec: align static arrays to 32-byte boundary fixes crash observed on x86_64-apple-darwin23.6.0 / clang-1500.3.9.4 Signed-off-by: Peter Ross --- libavcodec/g728dec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/g728dec.c b/libavcodec/g728dec.c index edf45c589b..9ab650f2cb 100644 --- a/libavcodec/g728dec.c +++ b/libavcodec/g728dec.c @@ -44,9 +44,9 @@ static float g728_gq_db[8]; static float g728_y_db[128]; -static float g728_wnr_r[FFALIGN(NSBSZ,16)]; -static float g728_wnrg_r[FFALIGN(NSBGSZ, 16)]; -static float g728_facv_f[FFALIGN(LPC, 16)]; +static DECLARE_ALIGNED(32, float, g728_wnr_r)[FFALIGN(NSBSZ,16)]; +static DECLARE_ALIGNED(32, float, g728_wnrg_r)[FFALIGN(NSBGSZ, 16)]; +static DECLARE_ALIGNED(32, float, g728_facv_f)[FFALIGN(LPC, 16)]; static av_cold void g728_init_static_data(void) {