avcodec/atrac3plusdsp: fix on stack alignment
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2015 09:58:41 +0000 (11:58 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2015 10:22:04 +0000 (12:22 +0200)
Fixes fate failure on ARM

libavcodec/atrac3plusdsp.c

index 3522af1..3c68f74 100644 (file)
@@ -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));