//inplace = false;
next_buffer:
t->error = 0;
- ret = btr_node_status(btrn, fn->min_iqs);
+ ret = btr_node_status(btrn, fn->min_iqs, BTR_NT_INTERNAL);
if (ret < 0)
goto err;
if (ret == 0)
return;
btr_merge(btrn, fn->min_iqs);
length = btr_next_buffer(btrn, &inbuf) & ~(size_t)1;
+ if (length == 0) { /* eof and 1 byte available */
+ ret = -E_COMPRESS_EOF;
+ goto err;
+ }
ip = (int16_t *)inbuf;
if (inplace)
op = ip;
pcd->max_gain = 1 << (pcd->conf->inertia_arg + pcd->conf->aggressiveness_arg);
}
+static void compress_free_config(void *conf)
+{
+ compress_cmdline_parser_free(conf);
+}
+
/**
* The init function of the compress filter.
*
f->pre_select = generic_filter_pre_select;
f->post_select = compress_post_select;
f->parse_config = compress_parse_config;
+ f->free_config = compress_free_config;
f->help = (struct ggo_help) {
.short_help = compress_filter_args_info_help,
.detailed_help = compress_filter_args_info_detailed_help