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.tue.mpg.de/?a=commitdiff_plain;h=7534eaf91ca37100a7559c05add941192220a7f1;p=paraslash.git 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);