From de6d44829c43c666d881979520e86aabb10e105f Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sat, 22 Nov 2014 21:26:45 +0100 Subject: aacps.c: Move large arrays to context to reduce stack usage. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Reimar Döffinger --- libavcodec/aacps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/aacps.c') diff --git a/libavcodec/aacps.c b/libavcodec/aacps.c index 20012f9b31..ea5a5d2331 100644 --- a/libavcodec/aacps.c +++ b/libavcodec/aacps.c @@ -908,8 +908,8 @@ static void stereo_processing(PSContext *ps, float (*l)[32][2], float (*r)[32][2 int ff_ps_apply(AVCodecContext *avctx, PSContext *ps, float L[2][38][64], float R[2][38][64], int top) { - LOCAL_ALIGNED_16(float, Lbuf, [91], [32][2]); - LOCAL_ALIGNED_16(float, Rbuf, [91], [32][2]); + float (*Lbuf)[32][2] = ps->Lbuf; + float (*Rbuf)[32][2] = ps->Rbuf; const int len = 32; int is34 = ps->is34bands; -- cgit v1.2.3