X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=fecdec_filter.c;h=fb2dba025d37806b2b70bd8f8002cae09e3e4db8;hb=13f672993a23637fe8ad76d9ebc64fe774528f5d;hp=30696c10f4d0f74d86f15fde206a6f976f41d715;hpb=e56d454fbd865f34cb5e043ff43585754631b079;p=paraslash.git diff --git a/fecdec_filter.c b/fecdec_filter.c index 30696c10..fb2dba02 100644 --- a/fecdec_filter.c +++ b/fecdec_filter.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2010 Andre Noll + * Copyright (C) 2009-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -9,7 +9,6 @@ #include #include -#include #include "para.h" #include "error.h" #include "list.h" @@ -414,7 +413,7 @@ static int dispatch_slice(char *buf, size_t len, struct fec_header *h, ret = fec_new(k, n, &pfd->fec); if (ret < 0) return ret; - pfd->btrp = btr_pool_new("fecdec", 20 * k * h->slice_bytes); + pfd->btrp = btr_pool_new("fecdec", 64 * 1024); /* decode and clear the first group */ ret = decode_group(pfd->first_complete_group, fn); if (ret < 0)