diff ra288.c @ 7437:d36ec42eef9c libavcodec

Declare temporary buffers to be only of the necessary size
author vitor
date Mon, 28 Jul 2008 04:37:58 +0000
parents f71ab851fedb
children d9d070ff46bf
line wrap: on
line diff
--- a/ra288.c	Mon Jul 28 04:25:51 2008 +0000
+++ b/ra288.c	Mon Jul 28 04:37:58 2008 +0000
@@ -171,9 +171,9 @@
                              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));