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:
parent
5e707c5905
commit
36826ee0df
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user