summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/sbr_fbt.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-10-31 20:33:27 +0000
committerDave Chapman <dave@dchapman.com>2005-10-31 20:33:27 +0000
commit798a4f3533cc63be2b313797bd4be5d53bda8fb9 (patch)
tree0e2b8bdeff50b3d0a1cbe73c591f97ef73179b65 /apps/codecs/libfaad/sbr_fbt.c
parent65de1cc6af31f547bd36d320f09cbcc6e6975421 (diff)
Changes to make libfaad compile in Rockbox. Also remove compiler warnings, use some IRAM (IRAM usage needs reviewing) and drastically reduce the stack usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7700 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad/sbr_fbt.c')
-rw-r--r--apps/codecs/libfaad/sbr_fbt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/libfaad/sbr_fbt.c b/apps/codecs/libfaad/sbr_fbt.c
index b90ae7d769..812c4059f9 100644
--- a/apps/codecs/libfaad/sbr_fbt.c
+++ b/apps/codecs/libfaad/sbr_fbt.c
@@ -359,6 +359,7 @@ uint8_t master_frequency_table(sbr_info *sbr, uint8_t k0, uint8_t k2,
real_t rk2, rk0;
#endif
+ (void)bs_alter_scale;
/* mft only defined for k2 > k0 */
if (k2 <= k0)
{
@@ -504,7 +505,7 @@ uint8_t master_frequency_table(sbr_info *sbr, uint8_t k0, uint8_t k2,
uint8_t derived_frequency_table(sbr_info *sbr, uint8_t bs_xover_band,
uint8_t k2)
{
- uint8_t k, i;
+ uint8_t k, i = 0;
uint32_t minus;
/* The following relation shall be satisfied: bs_xover_band < N_Master */