X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=oggdec_filter.c;h=143648c88ab5bd5afac3af31714b0c70d4ecb72a;hb=610cb53b94af8e95326cd44b7845f35cffdb6bf3;hp=708a27e52b68c1c2add01a3b3fe39f721485e39f;hpb=c75c35b176cdacf157d27617e954961c88f33975;p=paraslash.git diff --git a/oggdec_filter.c b/oggdec_filter.c index 708a27e5..143648c8 100644 --- a/oggdec_filter.c +++ b/oggdec_filter.c @@ -121,7 +121,7 @@ static int ogg_init(struct filter_node *fn) struct btr_node *btrn = fn->btrn; int ret, oret; size_t iqs; - struct OggVorbis_File *vf = para_malloc(sizeof(*vf)); + struct OggVorbis_File *vf = alloc(sizeof(*vf)); PARA_NOTICE_LOG("iqs: %zu, min_iqs: %zu, opening ov callbacks\n", btr_get_input_queue_size(btrn), fn->min_iqs); @@ -228,7 +228,7 @@ static int ogg_post_select(__a_unused struct sched *s, void *context) goto out; } have = 0; - buf = para_malloc(OGGDEC_OUTPUT_CHUNK_SIZE); + buf = alloc(OGGDEC_OUTPUT_CHUNK_SIZE); for (;;) { ret = ov_read(pod->vf, buf + have, OGGDEC_OUTPUT_CHUNK_SIZE - have, ENDIAN, 2 /* 16 bit */, 1 /* signed */, NULL);