summaryrefslogtreecommitdiff
path: root/apps/plugins/mp3_encoder.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-18 10:23:32 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-18 10:23:32 +0000
commitd3735578c3d957e7bb68e2838024ab57bceade68 (patch)
tree106ac199d69a68d8428fa69fe80cb51282fb2d79 /apps/plugins/mp3_encoder.c
parenta5c90d4986c8ad28378bb5b39af1f5aaa12d7a83 (diff)
mp3_encoder: fix a typo, put uninitialized variable in BSS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26136 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mp3_encoder.c')
-rw-r--r--apps/plugins/mp3_encoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mp3_encoder.c b/apps/plugins/mp3_encoder.c
index 9b5b8d70e9..da749b82c9 100644
--- a/apps/plugins/mp3_encoder.c
+++ b/apps/plugins/mp3_encoder.c
@@ -100,7 +100,7 @@ static short enc_data [SAMPL2] IBSS_ATTR; /* 1152 Bytes */
static BF_Data CodedData IBSS_ATTR; /* 1056 Bytes */
static const uint16_t sfBand[6][23] ICONST_ATTR;
-static const uint16_t const *scalefac ICONST_ATTR;
+static const uint16_t const *scalefac IBSS_ATTR;
static const int16_t ca [8] ICONST_ATTR; /* 16 Bytes */
static const uint16_t cs [8] ICONST_ATTR; /* 16 Bytes */
@@ -360,7 +360,7 @@ static const uint8_t t8l[36] =
static const uint8_t t9l[36] =
{3,3,5,6,8,9,3,3,4,5,6,8,4,4,5,6,7,8,6,5,6,7,7,8,7,6,7,7,8,9,8,7,8,8,9,9};
-static const uint8_t t10[64] =
+static const uint8_t t10l[64] =
{1,3,6,8,9,9,9,10,3,4,6,7,8,9,8,8,6,6,7,8,9,10,9,9,7,7,8,9,10,10,9,10,8,8,9,10,
10,10,10,10,9,9,10,10,11,11,10,11,8,8,9,10,10,10,11,11,9,8,9,10,10,11,11,11};