Mercurial > libavcodec.hg
changeset 8286:e06b2b848b74 libavcodec
AAC: move scratch array to context to ensure 16-byte alignment
| author | mru |
|---|---|
| date | Wed, 10 Dec 2008 00:50:59 +0000 |
| parents | 197fe6f703a3 |
| children | 7a1d037482c4 |
| files | aac.c aac.h |
| diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/aac.c Tue Dec 09 20:11:37 2008 +0000 +++ b/aac.c Wed Dec 10 00:50:59 2008 +0000 @@ -1336,7 +1336,7 @@ 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
