projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d27b315
)
Fix the wav filter for Mac OS 10.5.
author
Andre Noll
<maan@systemlinux.org>
Sun, 12 Oct 2008 21:56:25 +0000
(23:56 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 12 Oct 2008 21:56:25 +0000
(23:56 +0200)
We have to initialize fn->loaded.
wav.c
patch
|
blob
|
history
diff --git
a/wav.c
b/wav.c
index
52a97af
..
4933afd
100644
(file)
--- a/
wav.c
+++ b/
wav.c
@@
-99,6
+99,7
@@
static void wav_open(struct filter_node *fn)
fn->buf = para_malloc(fn->bufsize);
fn->private_data = para_malloc(sizeof(int));
bof = fn->private_data;
+ fn->loaded = 0;
*bof = 1;
PARA_INFO_LOG("wav filter node: %p, output buffer: %p, loaded: %zd\n",
fn, fn->buf, fn->loaded);