projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e707c5
)
Declare temporary buffers to be only of the necessary size
author
Vitor Sessak
<vitor1001@gmail.com>
Mon, 28 Jul 2008 04:37:58 +0000
(
04:37
+0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Mon, 28 Jul 2008 04:37:58 +0000
(
04:37
+0000)
Originally committed as revision 14451 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ra288.c
patch
|
blob
|
history
diff --git
a/libavcodec/ra288.c
b/libavcodec/ra288.c
index
443f184
..
a97e5a6
100644
(file)
--- a/
libavcodec/ra288.c
+++ b/
libavcodec/ra288.c
@@
-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));