X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wav_filter.c;h=e8630f9e203a3981f7ac1a83d361df590466c501;hp=8408034d905c6f20eb375385d638de31a43df0e3;hb=4ac3134c050ba28b57e0ae9686eb1f6d83e6d586;hpb=b62e2796b85c7d7f3138fe729f4637853e0fafe0 diff --git a/wav_filter.c b/wav_filter.c index 8408034d..e8630f9e 100644 --- a/wav_filter.c +++ b/wav_filter.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2011 Andre Noll + * Copyright (C) 2005-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -7,7 +7,6 @@ /** \file wav_filter.c A filter that inserts a wave header. */ #include -#include #include "para.h" #include "error.h" @@ -118,7 +117,7 @@ err: if (ret == -E_WAV_SUCCESS) btr_splice_out_node(btrn); else { - btr_remove_node(btrn); + btr_remove_node(&fn->btrn); PARA_ERROR_LOG("%s\n", para_strerror(-ret)); } }