X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=resample_filter.c;h=2caa1e21395a7a77909d0284f6e44e3013640857;hp=383332b2e2d2de9c82f96fe0b81b69a6081a746f;hb=56df9bb38aa4725f9244a7898d765608d8a1fffa;hpb=24bbc541c5d8ebe6fd5fa5798560fa833f9e1b79 diff --git a/resample_filter.c b/resample_filter.c index 383332b2..2caa1e21 100644 --- a/resample_filter.c +++ b/resample_filter.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012-2013 Andre Noll + * Copyright (C) 2012-2014 Andre Noll * * 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); }