Commit 38f67260 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/atrac3plusdsp: fix on stack alignment

Fixes fate failure on ARM
parent 1c37848f
...@@ -599,8 +599,8 @@ void ff_atrac3p_ipqf(FFTContext *dct_ctx, Atrac3pIPQFChannelCtx *hist, ...@@ -599,8 +599,8 @@ void ff_atrac3p_ipqf(FFTContext *dct_ctx, Atrac3pIPQFChannelCtx *hist,
const float *in, float *out) const float *in, float *out)
{ {
int i, s, sb, t, pos_now, pos_next; int i, s, sb, t, pos_now, pos_next;
DECLARE_ALIGNED(32, float, idct_in)[ATRAC3P_SUBBANDS]; LOCAL_ALIGNED(32, float, idct_in, [ATRAC3P_SUBBANDS]);
DECLARE_ALIGNED(32, float, idct_out)[ATRAC3P_SUBBANDS]; LOCAL_ALIGNED(32, float, idct_out, [ATRAC3P_SUBBANDS]);
memset(out, 0, ATRAC3P_FRAME_SAMPLES * sizeof(*out)); memset(out, 0, ATRAC3P_FRAME_SAMPLES * sizeof(*out));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment