summaryrefslogtreecommitdiff
path: root/src/client/snd_wavelet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/snd_wavelet.c')
-rw-r--r--src/client/snd_wavelet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/snd_wavelet.c b/src/client/snd_wavelet.c
index 51624614..5846f808 100644
--- a/src/client/snd_wavelet.c
+++ b/src/client/snd_wavelet.c
@@ -120,7 +120,7 @@ void NXPutc(NXStream *stream, char out) {
void encodeWavelet( sfx_t *sfx, short *packets) {
- float wksp[4097], temp;
+ float wksp[4097] = {0}, temp;
int i, samples, size;
sndBuffer *newchunk, *chunk;
byte *out;
@@ -170,7 +170,7 @@ void encodeWavelet( sfx_t *sfx, short *packets) {
}
void decodeWavelet(sndBuffer *chunk, short *to) {
- float wksp[4097];
+ float wksp[4097] = {0};
int i;
byte *out;