summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/hcr.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/hcr.c
parent65de1cc6af31f547bd36d320f09cbcc6e6975421 (diff)
downloadrockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.tar.gz
rockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.zip
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/hcr.c')
-rw-r--r--apps/codecs/libfaad/hcr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libfaad/hcr.c b/apps/codecs/libfaad/hcr.c
index a5e67bb85d..f2766c38e1 100644
--- a/apps/codecs/libfaad/hcr.c
+++ b/apps/codecs/libfaad/hcr.c
@@ -217,8 +217,8 @@ uint8_t reordered_spectral_data(NeAACDecHandle hDecoder, ic_stream *ics,
217 uint16_t PCWs_done; 217 uint16_t PCWs_done;
218 uint16_t numberOfSegments, numberOfSets, numberOfCodewords; 218 uint16_t numberOfSegments, numberOfSets, numberOfCodewords;
219 219
220 codeword_t codeword[512]; 220 static codeword_t codeword[512];
221 bits_t segment[512]; 221 static bits_t segment[512];
222 222
223 uint16_t sp_offset[8]; 223 uint16_t sp_offset[8];
224 uint16_t g, i, sortloop, set, bitsread; 224 uint16_t g, i, sortloop, set, bitsread;