From 15e9053afbcb6f4b0b42739197a7eca40007e093 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 24 Apr 2011 13:54:02 +0000 Subject: Clean up array sizes in the SBR + PS part of libfaad. Add MAX_NTSRPS (=38), use MAX_NTSR and MAX_NTSRHFG at the right places. RAM (IRAM) usage is reduced by 2 KB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29773 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libfaad/drm_dec.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/codecs/libfaad/drm_dec.h') diff --git a/apps/codecs/libfaad/drm_dec.h b/apps/codecs/libfaad/drm_dec.h index e90b2340bd..34923c6431 100644 --- a/apps/codecs/libfaad/drm_dec.h +++ b/apps/codecs/libfaad/drm_dec.h @@ -88,7 +88,9 @@ uint16_t drm_ps_data(drm_ps_info *ps, bitfile *ld); drm_ps_info *drm_ps_init(void); void drm_ps_free(drm_ps_info *ps); -uint8_t drm_ps_decode(drm_ps_info *ps, uint8_t guess, uint32_t samplerate, qmf_t X_left[38][64], qmf_t X_right[38][64]); +uint8_t drm_ps_decode(drm_ps_info *ps, uint8_t guess, uint32_t samplerate, + qmf_t X_left[MAX_NTSRPS][64], + qmf_t X_right[MAX_NTSRPS][64]); #ifdef __cplusplus } -- cgit v1.2.3