[FFmpeg-cvslog] r14451 - trunk/libavcodec/ra288.c
vitor
subversion
Mon Jul 28 06:37:59 CEST 2008
Author: vitor
Date: Mon Jul 28 06:37:58 2008
New Revision: 14451
Log:
Declare temporary buffers to be only of the necessary size
Modified:
trunk/libavcodec/ra288.c
Modified: trunk/libavcodec/ra288.c
==============================================================================
--- trunk/libavcodec/ra288.c (original)
+++ trunk/libavcodec/ra288.c Mon Jul 28 06:37:58 2008
@@ -171,9 +171,9 @@ static void do_hybrid_window(int order,
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));
More information about the ffmpeg-cvslog
mailing list