[FFmpeg-cvslog] avcodec/atrac3plusdsp: fix on stack alignment

Michael Niedermayer git at videolan.org
Fri Apr 17 12:56:34 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Apr 17 11:58:41 2015 +0200| [38f67260684aec8a02d87ab4056b1a1fbf964c03] | committer: Michael Niedermayer

avcodec/atrac3plusdsp: fix on stack alignment

Fixes fate failure on ARM

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=38f67260684aec8a02d87ab4056b1a1fbf964c03
---

 libavcodec/atrac3plusdsp.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/atrac3plusdsp.c b/libavcodec/atrac3plusdsp.c
index 3522af1..3c68f74 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));
 



More information about the ffmpeg-cvslog mailing list