X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=compress_filter.c;h=a6a001919acc5038039d5de0b0590a265052e978;hb=9055c71be97f1095dcdbd83da305b600f204f763;hp=9f9d8515e3794139a65f9f3e7598d3d900829bcc;hpb=b142089267ef501e438c3dc77ecf19bead3d4e58;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);