summaryrefslogtreecommitdiff
path: root/libavcodec/opus.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-04-02 11:36:56 -0300
committerJames Almer <jamrial@gmail.com>2019-04-02 11:36:56 -0300
commitb74e13711ff6998619371a3e0ac14408d9c7acba (patch)
treec9f5f0d2c2818d941ccfdef60900bffbecdb7f19 /libavcodec/opus.h
parent6aeaac3e1c40a7e0691a8accb90adc29c6b4bc23 (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.h2
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 */