summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/ps_dec.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libfaad/ps_dec.h')
-rw-r--r--apps/codecs/libfaad/ps_dec.h6
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
42typedef struct 44typedef 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);
138ps_info *ps_init(uint8_t sr_index); 140ps_info *ps_init(uint8_t sr_index);
139void ps_free(ps_info *ps); 141void ps_free(ps_info *ps);
140 142
141uint8_t ps_decode(ps_info *ps, qmf_t X_left[38][64], qmf_t X_right[38][64]); 143uint8_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