]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - resample_filter.c
Don't set t->error in ->pre_select().
[paraslash.git] / resample_filter.c
index 383332b2e2d2de9c82f96fe0b81b69a6081a746f..2caa1e21395a7a77909d0284f6e44e3013640857 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2013 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2012-2014 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -306,13 +306,9 @@ void resample_filter_init(struct filter *f)
        f->close = resample_close;
        f->open = resample_open;
        f->pre_select = resample_pre_select;
-       f->new_post_select = resample_post_select;
-       f->post_select = NULL;
+       f->post_select = resample_post_select;
        f->parse_config = resample_parse_config;
        f->free_config = resample_free_config;
        f->execute = resample_execute;
-       f->help = (struct ggo_help) {
-               .short_help = resample_filter_args_info_help,
-               .detailed_help = resample_filter_args_info_detailed_help
-       };
+       f->help = (struct ggo_help)DEFINE_GGO_HELP(resample_filter);
 }