From 7534eaf91ca37100a7559c05add941192220a7f1 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sun, 12 Oct 2008 23:56:25 +0200 Subject: [PATCH] Fix the wav filter for Mac OS 10.5. We have to initialize fn->loaded. --- wav.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5