diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-12 17:35:06 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-12 17:35:06 +0000 |
commit | 72fba7a9d77246aaf8551d915b4a2234912de6c9 (patch) | |
tree | ec189bca0824082d79bd15dfa1d2d63035b5f95f | |
parent | 9f32eb6f0d6f4a74da4a5a38254e965254cefee0 (diff) |
Make libfaad compilable again without PS_DEC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29861 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/codecs/libfaad/sbr_dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/codecs/libfaad/sbr_dec.c b/apps/codecs/libfaad/sbr_dec.c index e2f6e4e9fc..d369868f74 100644 --- a/apps/codecs/libfaad/sbr_dec.c +++ b/apps/codecs/libfaad/sbr_dec.c @@ -95,8 +95,10 @@ sbr_info *sbrDecodeInit(uint16_t framelength, uint8_t id_aac, uint8_t id_ele, #endif memset(sbr, 0, sizeof(sbr_info)); +#ifdef PS_DEC /* initialize PS variables */ ps_init(&sbr->ps); +#endif /* Allocate XLR temporary variable. Use static allocation if either * FAAD_STATIC_ALLOC is set or XLR fits to IRAM. */ |