diff options
author | James Almer <jamrial@gmail.com> | 2019-04-02 11:36:56 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-04-02 11:36:56 -0300 |
commit | b74e13711ff6998619371a3e0ac14408d9c7acba (patch) | |
tree | c9f5f0d2c2818d941ccfdef60900bffbecdb7f19 /libavcodec/opus.h | |
parent | 6aeaac3e1c40a7e0691a8accb90adc29c6b4bc23 (diff) |
avcodec/opus: make redundancy_buf 32 byte aligned
Fixes ff_opus_deemphasis_fma3 segmentation fault crashes on x86_32.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/opus.h')
-rw-r--r-- | libavcodec/opus.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |