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) | |
download | rockbox-72fba7a9d77246aaf8551d915b4a2234912de6c9.tar.gz rockbox-72fba7a9d77246aaf8551d915b4a2234912de6c9.zip |
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, | |||
95 | #endif | 95 | #endif |
96 | memset(sbr, 0, sizeof(sbr_info)); | 96 | memset(sbr, 0, sizeof(sbr_info)); |
97 | 97 | ||
98 | #ifdef PS_DEC | ||
98 | /* initialize PS variables */ | 99 | /* initialize PS variables */ |
99 | ps_init(&sbr->ps); | 100 | ps_init(&sbr->ps); |
101 | #endif | ||
100 | 102 | ||
101 | /* Allocate XLR temporary variable. Use static allocation if either | 103 | /* Allocate XLR temporary variable. Use static allocation if either |
102 | * FAAD_STATIC_ALLOC is set or XLR fits to IRAM. */ | 104 | * FAAD_STATIC_ALLOC is set or XLR fits to IRAM. */ |