summaryrefslogtreecommitdiff
path: root/libavcodec/aac.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-12-10 00:50:59 +0000
committerMåns Rullgård <mans@mansr.com>2008-12-10 00:50:59 +0000
commit8153f14444519e0aec299678ad9bc4268d55acff (patch)
treeed95f4e56f88645069785185da38977520702f04 /libavcodec/aac.c
parent7b5e49fe2ed4d0169a00bf471e5e695d99c72b9f (diff)
AAC: move scratch array to context to ensure 16-byte alignment
Originally committed as revision 16043 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac.c')
-rw-r--r--libavcodec/aac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c
index 1803d4d7f1..8fbf964d27 100644
--- a/libavcodec/aac.c
+++ b/libavcodec/aac.c
@@ -1336,7 +1336,7 @@ static void imdct_and_windowing(AACContext * ac, SingleChannelElement * sce) {
const float * lwindow_prev = ics->use_kb_window[1] ? ff_aac_kbd_long_1024 : ff_sine_1024;
const float * swindow_prev = ics->use_kb_window[1] ? ff_aac_kbd_short_128 : ff_sine_128;
float * buf = ac->buf_mdct;
- DECLARE_ALIGNED(16, float, temp[128]);
+ float * temp = ac->temp;
int i;
// imdct