Browse Source

avcodec/atrac3plusdsp: fix on stack alignment

Fixes fate failure on ARM
(cherry picked from commit 38f6726068)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4.9
Michael Niedermayer 11 years ago
parent
commit
b28fab2ebe
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/atrac3plusdsp.c

+ 2
- 2
libavcodec/atrac3plusdsp.c View 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));



Loading…
Cancel
Save