X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wav_filter.c;h=e8630f9e203a3981f7ac1a83d361df590466c501;hp=b28b1d3c516d59ac3fbd4cea13bde8b5be492cb3;hb=95e115dbc07b1a96bdb0d2d86d6429176e6a76fb;hpb=7ff087268774d4bb7838a8575d2d9471ab52a27d diff --git a/wav_filter.c b/wav_filter.c index b28b1d3c..e8630f9e 100644 --- a/wav_filter.c +++ b/wav_filter.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2010 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)); } }