X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=wav_filter.c;h=7d6c371433b13ae6f6d3d63e8de47f69fe133a17;hb=be5daec66f163725489f42d512659a8af5c3fd59;hp=692306b541fcb28012b1a2a4d873a83d93855437;hpb=e3a7e12639c34fd86d48a072beb48add8c498d09;p=paraslash.git diff --git a/wav_filter.c b/wav_filter.c index 692306b5..7d6c3714 100644 --- a/wav_filter.c +++ b/wav_filter.c @@ -53,7 +53,7 @@ static void wav_open(struct filter_node *fn) { int *bof; - fn->private_data = para_malloc(sizeof(int)); + fn->private_data = alloc(sizeof(int)); bof = fn->private_data; *bof = 1; } @@ -101,7 +101,7 @@ static int wav_post_monitor(__a_unused struct sched *s, void *context) free(buf); if (ret < 0) goto err; - header = para_malloc(WAV_HEADER_LEN); + header = alloc(WAV_HEADER_LEN); make_wav_header(ch, rate, header); btr_add_output(header, WAV_HEADER_LEN, btrn); ret = -E_WAV_SUCCESS;