From d3735578c3d957e7bb68e2838024ab57bceade68 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Tue, 18 May 2010 10:23:32 +0000 Subject: 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 --- apps/plugins/mp3_encoder.c | 4 ++-- 1 file 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}; -- cgit v1.2.3