1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Declare temporary buffers to be only of the necessary size

Originally committed as revision 14451 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2008-07-28 04:37:58 +00:00
parent 5e707c5905
commit 36826ee0df

View File

@ -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));