X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=compress_filter.c;h=a6a001919acc5038039d5de0b0590a265052e978;hb=563b56a493d6a2bdcdebafadd907954dbe1de8a8;hp=9f9d8515e3794139a65f9f3e7598d3d900829bcc;hpb=82aedc35a6cdf2c7e0d27fc16f75529722505dac;p=paraslash.git diff --git a/compress_filter.c b/compress_filter.c index 9f9d8515..a6a00191 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -66,7 +66,7 @@ next_buffer: if (inplace) op = ip; else - op = para_malloc(length); + op = alloc(length); for (i = 0; i < length / 2; i++) { /* be careful in that heat, my dear */ int sample = *ip++; @@ -116,7 +116,7 @@ err: static void compress_open(struct filter_node *fn) { - struct private_compress_data *pcd = para_calloc(sizeof(*pcd)); + struct private_compress_data *pcd = zalloc(sizeof(*pcd)); uint32_t inertia = U32_OPTVAL(INERTIA, fn->lpr); uint32_t aggressiveness = U32_OPTVAL(AGGRESSIVENESS, fn->lpr);