Commit 36826ee0 authored by Vitor Sessak's avatar Vitor Sessak

Declare temporary buffers to be only of the necessary size

Originally committed as revision 14451 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5e707c59
......@@ -171,9 +171,9 @@ static void do_hybrid_window(int order, int n, int non_rec, const float *in,
const float *window)
{
unsigned int x;
float buffer1[37];
float buffer2[37];
float work[111];
float buffer1[order + 1];
float buffer2[order + 1];
float work[order + n + non_rec];
/* update history */
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