Commit de1a41d7 authored by vitor's avatar vitor

Declare temporary buffers to be only of the necessary size

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14451 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 740219a1
...@@ -171,9 +171,9 @@ static void do_hybrid_window(int order, int n, int non_rec, const float *in, ...@@ -171,9 +171,9 @@ static void do_hybrid_window(int order, int n, int non_rec, const float *in,
const float *window) const float *window)
{ {
unsigned int x; unsigned int x;
float buffer1[37]; float buffer1[order + 1];
float buffer2[37]; float buffer2[order + 1];
float work[111]; float work[order + n + non_rec];
/* update history */ /* update history */
memmove(hist, hist + n, (order + non_rec)*sizeof(*hist)); memmove(hist, hist + n, (order + non_rec)*sizeof(*hist));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment