changeset 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
files ra288.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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));