diff options
Diffstat (limited to 'apps/codecs/libfaad/ps_dec.h')
-rw-r--r-- | apps/codecs/libfaad/ps_dec.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/codecs/libfaad/ps_dec.h b/apps/codecs/libfaad/ps_dec.h index fca1f775ef..03cefd6fcd 100644 --- a/apps/codecs/libfaad/ps_dec.h +++ b/apps/codecs/libfaad/ps_dec.h | |||
@@ -39,6 +39,8 @@ extern "C" { | |||
39 | #define MAX_PS_ENVELOPES 5 | 39 | #define MAX_PS_ENVELOPES 5 |
40 | #define NO_ALLPASS_LINKS 3 | 40 | #define NO_ALLPASS_LINKS 3 |
41 | 41 | ||
42 | #define MAX_NTSRPS 38 /* max number_time_slots * rate + 6 (delay) */ | ||
43 | |||
42 | typedef struct | 44 | typedef struct |
43 | { | 45 | { |
44 | /* bitstream parameters */ | 46 | /* bitstream parameters */ |
@@ -138,7 +140,9 @@ uint16_t ps_data(ps_info *ps, bitfile *ld, uint8_t *header); | |||
138 | ps_info *ps_init(uint8_t sr_index); | 140 | ps_info *ps_init(uint8_t sr_index); |
139 | void ps_free(ps_info *ps); | 141 | void ps_free(ps_info *ps); |
140 | 142 | ||
141 | uint8_t ps_decode(ps_info *ps, qmf_t X_left[38][64], qmf_t X_right[38][64]); | 143 | uint8_t ps_decode(ps_info *ps, |
144 | qmf_t X_left[MAX_NTSRPS][64], | ||
145 | qmf_t X_right[MAX_NTSRPS][64]); | ||
142 | 146 | ||
143 | 147 | ||
144 | #ifdef __cplusplus | 148 | #ifdef __cplusplus |