summaryrefslogtreecommitdiffstats
path: root/apps/codecs/libfaad/decoder.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/decoder.c
parent65de1cc6af31f547bd36d320f09cbcc6e6975421 (diff)
downloadrockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.tar.gz
rockbox-798a4f3533cc63be2b313797bd4be5d53bda8fb9.tar.bz2
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/decoder.c')
-rw-r--r--apps/codecs/libfaad/decoder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libfaad/decoder.c b/apps/codecs/libfaad/decoder.c
index b2c37dadb8..1c8fbd90a1 100644
--- a/apps/codecs/libfaad/decoder.c
+++ b/apps/codecs/libfaad/decoder.c
@@ -53,7 +53,7 @@ uint16_t dbg_count;
/* static function declarations */
static void* aac_frame_decode(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
uint8_t *buffer, uint32_t buffer_size,
- void **sample_buffer, uint32_t sample_buffer_size);
+ void **sample_buffer, int32_t sample_buffer_size);
static void create_channel_config(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo);
@@ -724,7 +724,7 @@ void* NEAACDECAPI NeAACDecDecode2(NeAACDecHandle hDecoder,
static void* aac_frame_decode(NeAACDecHandle hDecoder, NeAACDecFrameInfo *hInfo,
uint8_t *buffer, uint32_t buffer_size,
- void **sample_buffer2, uint32_t sample_buffer_size)
+ void **sample_buffer2, int32_t sample_buffer_size)
{
uint8_t channels = 0;
uint8_t output_channels = 0;