aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-04-17 11:58:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-17 15:20:30 +0200
commit0683ef4b50c45d3ee7466d07b6514d62145f64e2 (patch)
tree7f7684d02202da28536b7cf2d7905ef00451279b
parentb420354a8b6611d7a5af1f7acd04a5055ded0bb7 (diff)
downloadffmpeg-0683ef4b50c45d3ee7466d07b6514d62145f64e2.tar.gz
avcodec/atrac3plusdsp: fix on stack alignment
Fixes fate failure on ARM (cherry picked from commit 38f67260684aec8a02d87ab4056b1a1fbf964c03) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/atrac3plusdsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/atrac3plusdsp.c b/libavcodec/atrac3plusdsp.c
index 3522af1e5a..3c68f74d25 100644
--- a/libavcodec/atrac3plusdsp.c
+++ b/libavcodec/atrac3plusdsp.c
@@ -599,8 +599,8 @@ void ff_atrac3p_ipqf(FFTContext *dct_ctx, Atrac3pIPQFChannelCtx *hist,
const float *in, float *out)
{
int i, s, sb, t, pos_now, pos_next;
- DECLARE_ALIGNED(32, float, idct_in)[ATRAC3P_SUBBANDS];
- DECLARE_ALIGNED(32, float, idct_out)[ATRAC3P_SUBBANDS];
+ LOCAL_ALIGNED(32, float, idct_in, [ATRAC3P_SUBBANDS]);
+ LOCAL_ALIGNED(32, float, idct_out, [ATRAC3P_SUBBANDS]);
memset(out, 0, ATRAC3P_FRAME_SAMPLES * sizeof(*out));