diff options
author | Peter Ross <pross@xvid.org> | 2025-07-28 07:59:33 +1000 |
---|---|---|
committer | Peter Ross <pross@xvid.org> | 2025-08-02 21:36:36 +0000 |
commit | 518d9f0dd43b6ba329a975fe0744a7de5a26f64a (patch) | |
tree | 9bb6d1b26e28925afe1a7ac2bfaac7dc955d6098 | |
parent | aca41d3d9327be4d6ab036f494b700118fcc04e1 (diff) | |
download | ffmpeg-518d9f0dd43b6ba329a975fe0744a7de5a26f64a.tar.gz |
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 <pross@xvid.org>
-rw-r--r-- | libavcodec/g728dec.c | 6 |
1 files 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) { |