From: Andre Noll Date: Sun, 12 Oct 2008 21:56:25 +0000 (+0200) Subject: Fix the wav filter for Mac OS 10.5. X-Git-Tag: v0.3.3~42 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=7534eaf91ca37100a7559c05add941192220a7f1;hp=d27b31524e1d60ad4fdbeb606bba31ba0ee54048 Fix the wav filter for Mac OS 10.5. We have to initialize fn->loaded. --- diff --git a/wav.c b/wav.c index 52a97af0..4933afd4 100644 --- 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);