summaryrefslogtreecommitdiffstats
path: root/apps/codecs/aac.c
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-05 19:50:16 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2011-02-05 19:50:16 +0000
commit8033cb6250c403f4b7c189c4aa4c085df145a044 (patch)
treef016b3dfda878c2baa71e9aabccd4a3fc766432a /apps/codecs/aac.c
parentf3adc77fd509392479e09f97a6fe72a90e2c4cc1 (diff)
downloadrockbox-8033cb6250c403f4b7c189c4aa4c085df145a044.tar.gz
rockbox-8033cb6250c403f4b7c189c4aa4c085df145a044.zip
Use MEM_ALIGN_ATTR in libfaad. Remove global array and re-use existing one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29211 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/aac.c')
-rw-r--r--apps/codecs/aac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/aac.c b/apps/codecs/aac.c
index 0b27eed472..34239864d1 100644
--- a/apps/codecs/aac.c
+++ b/apps/codecs/aac.c
@@ -30,8 +30,8 @@ CODEC_HEADER
/* Global buffers to be used in the mdct synthesis. This way the arrays can
* be moved to IRAM for some targets */
#define GB_BUF_SIZE 1024
-static ALIGN real_t gb_time_buffer[2][GB_BUF_SIZE] IBSS_ATTR_FAAD_LARGE_IRAM;
-static ALIGN real_t gb_fb_intermed[2][GB_BUF_SIZE] IBSS_ATTR_FAAD_LARGE_IRAM;
+static real_t gb_time_buffer[2][GB_BUF_SIZE] IBSS_ATTR_FAAD_LARGE_IRAM MEM_ALIGN_ATTR;
+static real_t gb_fb_intermed[2][GB_BUF_SIZE] IBSS_ATTR_FAAD_LARGE_IRAM MEM_ALIGN_ATTR;
/* this is the codec entry point */
enum codec_status codec_main(void)