summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/structs.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libfaad/structs.h')
-rw-r--r--apps/codecs/libfaad/structs.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/codecs/libfaad/structs.h b/apps/codecs/libfaad/structs.h
index 05a2b52280..c241cc41f3 100644
--- a/apps/codecs/libfaad/structs.h
+++ b/apps/codecs/libfaad/structs.h
@@ -37,12 +37,13 @@ extern "C" {
37#include "sbr_dec.h" 37#include "sbr_dec.h"
38#endif 38#endif
39 39
40#define MAX_CHANNELS 64 40#define MAX_CHANNELS 2 /* Was 64, but we need to limit RAM usage */
41#define MAX_SYNTAX_ELEMENTS 48 41#define MAX_SYNTAX_ELEMENTS 1 /* Was 48, but we need to limit RAM usage */
42#define MAX_WINDOW_GROUPS 8 42#define MAX_WINDOW_GROUPS 8
43#define MAX_SFB 51 43#define MAX_SFB 51
44#define MAX_LTP_SFB 40 44#define MAX_LTP_SFB 40
45#define MAX_LTP_SFB_S 8 45#define MAX_LTP_SFB_S 8
46#define FRAME_LEN 1024
46 47
47/* used to save the prediction state */ 48/* used to save the prediction state */
48typedef struct { 49typedef struct {
@@ -407,9 +408,6 @@ typedef struct
407 */ 408 */
408 uint8_t alloced_channels; 409 uint8_t alloced_channels;
409 410
410 /* output data buffer */
411 void *sample_buffer;
412
413 uint8_t window_shape_prev[MAX_CHANNELS]; 411 uint8_t window_shape_prev[MAX_CHANNELS];
414#ifdef LTP_DEC 412#ifdef LTP_DEC
415 uint16_t ltp_lag[MAX_CHANNELS]; 413 uint16_t ltp_lag[MAX_CHANNELS];