Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-11-22 23:26:45 +0300
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-12-19 01:50:41 +0300
commitde6d44829c43c666d881979520e86aabb10e105f (patch)
treecaa24e27e9c49d7cbd8013b9de90dacc07411b0d /libavcodec/aacps.c
parent0463df6f4241c8dfaed7e93ee301bd4c1a360c08 (diff)
aacps.c: Move large arrays to context to reduce stack usage.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavcodec/aacps.c')
-rw-r--r--libavcodec/aacps.c4
1 files changed, 2 insertions, 2 deletions
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;