diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-10 19:04:24 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2011-05-10 19:04:24 +0000 |
commit | 03e23d111385161afc917abe21b19cf8761e0440 (patch) | |
tree | 8c0b71ce052e9f410ee08bb80f932363b3d5d45c /apps/codecs/libfaad/sbr_dec.h | |
parent | 78b0f94c76e7d176bf24ab2c9a49f67b32537cc2 (diff) | |
download | rockbox-03e23d111385161afc917abe21b19cf8761e0440.tar.gz rockbox-03e23d111385161afc917abe21b19cf8761e0440.zip |
Implement error handling for libfaad's memory allocation. Do not allocate PS related types dynamically anymore to minimize code changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29854 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libfaad/sbr_dec.h')
-rw-r--r-- | apps/codecs/libfaad/sbr_dec.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/codecs/libfaad/sbr_dec.h b/apps/codecs/libfaad/sbr_dec.h index 81dac32946..1a1f5b9b32 100644 --- a/apps/codecs/libfaad/sbr_dec.h +++ b/apps/codecs/libfaad/sbr_dec.h | |||
@@ -222,11 +222,8 @@ typedef struct | |||
222 | } sbr_info; | 222 | } sbr_info; |
223 | 223 | ||
224 | sbr_info *sbrDecodeInit(uint16_t framelength, uint8_t id_aac, uint8_t id_ele, | 224 | sbr_info *sbrDecodeInit(uint16_t framelength, uint8_t id_aac, uint8_t id_ele, |
225 | uint32_t sample_rate, uint8_t downSampledSBR | 225 | uint32_t sample_rate, uint8_t downSampledSBR, |
226 | #ifdef DRM | 226 | uint8_t IsDRM); |
227 | , uint8_t IsDRM | ||
228 | #endif | ||
229 | ); | ||
230 | 227 | ||
231 | uint8_t sbrDecodeCoupleFrame(sbr_info *sbr, real_t *left_chan, real_t *right_chan, | 228 | uint8_t sbrDecodeCoupleFrame(sbr_info *sbr, real_t *left_chan, real_t *right_chan, |
232 | const uint8_t just_seeked, const uint8_t downSampledSBR); | 229 | const uint8_t just_seeked, const uint8_t downSampledSBR); |