summaryrefslogtreecommitdiff
path: root/apps/codecs/mpa.c
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2005-10-27 11:32:02 +0000
committerThom Johansen <thomj@rockbox.org>2005-10-27 11:32:02 +0000
commite6021381efa735fb583e0a1a8afd7957f70eff79 (patch)
treee800ccdcee9b9d0cbc102d064aa2fa3f8f91bf26 /apps/codecs/mpa.c
parentc2628f3af96f4a2a539d3f179988251a8b6301db (diff)
Introduced usage of IBSS_ATTR and ICONST_ATTR to codec plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7659 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/mpa.c')
-rw-r--r--apps/codecs/mpa.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c
index 557274a637..45dff5c486 100644
--- a/apps/codecs/mpa.c
+++ b/apps/codecs/mpa.c
@@ -21,9 +21,9 @@
#include <codecs/libmad/mad.h>
#include <inttypes.h>
-struct mad_stream stream IDATA_ATTR;
-struct mad_frame frame IDATA_ATTR;
-struct mad_synth synth IDATA_ATTR;
+struct mad_stream stream IBSS_ATTR;
+struct mad_frame frame IBSS_ATTR;
+struct mad_synth synth IBSS_ATTR;
/* The following function is used inside libmad - let's hope it's never
called.
@@ -34,8 +34,8 @@ void abort(void) {
#define INPUT_CHUNK_SIZE 8192
-mad_fixed_t mad_frame_overlap[2][32][18] IDATA_ATTR;
-unsigned char mad_main_data[MAD_BUFFER_MDLEN] IDATA_ATTR;
+mad_fixed_t mad_frame_overlap[2][32][18] IBSS_ATTR;
+unsigned char mad_main_data[MAD_BUFFER_MDLEN] IBSS_ATTR;
/* TODO: what latency does layer 1 have? */
int mpeg_latency[3] = { 0, 481, 529 };