From b74e13711ff6998619371a3e0ac14408d9c7acba Mon Sep 17 00:00:00 2001 From: James Almer Date: Tue, 2 Apr 2019 11:36:56 -0300 Subject: [PATCH] avcodec/opus: make redundancy_buf 32 byte aligned Fixes ff_opus_deemphasis_fma3 segmentation fault crashes on x86_32. Signed-off-by: James Almer --- libavcodec/opus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/opus.h b/libavcodec/opus.h index edbaab5ce7..63ecd0aff7 100644 --- a/libavcodec/opus.h +++ b/libavcodec/opus.h @@ -112,7 +112,7 @@ typedef struct OpusStreamContext { DECLARE_ALIGNED(32, float, celt_buf)[2][960]; float *celt_output[2]; - float redundancy_buf[2][960]; + DECLARE_ALIGNED(32, float, redundancy_buf)[2][960]; float *redundancy_output[2]; /* data buffers for the final output data */