]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fecdec_filter.c
paraslash 0.5.1
[paraslash.git] / fecdec_filter.c
index c65ff89d8c56af7c87f4e56ce06d461fae76f314..691d696af6e3972ac9f2becf68c0712873fe9624 100644 (file)
@@ -409,7 +409,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", 64 * 1024);
+       pfd->btrp = btr_pool_new("fecdec", 128 * 1024);
        /* decode and clear the first group */
        ret = decode_group(pfd->first_complete_group, fn);
        if (ret < 0)
@@ -491,6 +491,5 @@ void fecdec_filter_init(struct filter *f)
        f->close = fecdec_close;
        f->open = fecdec_open;
        f->pre_select = generic_filter_pre_select;
-       f->new_post_select = fecdec_post_select;
-       f->post_select = NULL;
+       f->post_select = fecdec_post_select;
 }