diff options
| author | Dave Chapman <dave@dchapman.com> | 2005-10-31 20:33:27 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2005-10-31 20:33:27 +0000 |
| commit | 798a4f3533cc63be2b313797bd4be5d53bda8fb9 (patch) | |
| tree | 0e2b8bdeff50b3d0a1cbe73c591f97ef73179b65 /apps/codecs/libfaad/common.c | |
| parent | 65de1cc6af31f547bd36d320f09cbcc6e6975421 (diff) | |
| download | rockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.zip rockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.tar.gz rockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.tar.bz2 rockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.tar.xz | |
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/common.c')
| -rw-r--r-- | apps/codecs/libfaad/common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/codecs/libfaad/common.c b/apps/codecs/libfaad/common.c index c0676b4..debc125 100644 --- a/apps/codecs/libfaad/common.c +++ b/apps/codecs/libfaad/common.c @@ -433,7 +433,6 @@ int32_t pow2_int(real_t val) int32_t log2_int(uint32_t val) { uint32_t frac; - uint32_t whole = (val); int32_t exp = 0; uint32_t index; uint32_t index_frac; @@ -477,7 +476,6 @@ int32_t log2_int(uint32_t val) real_t log2_fix(uint32_t val) { uint32_t frac; - uint32_t whole = (val >> REAL_BITS); int8_t exp = 0; uint32_t index; uint32_t index_frac; |