# HG changeset patch # User vitor # Date 1217219878 0 # Node ID d36ec42eef9c118b291ef3b68edfc1d59818762c # Parent f71ab851fedb12887625827effb2fc7c7802a9b8 Declare temporary buffers to be only of the necessary size diff -r f71ab851fedb -r d36ec42eef9c ra288.c --- 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));