X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=wmadec_filter.c;h=525ed3150cda5affb9b479029b7e9aa5f461a0aa;hp=692ea0f3dde1d25996a874aff00e1a6a1f7b043d;hb=40a60cb3cfe62626a41f677046e714c0577dc745;hpb=674f20dd3fc5339a1e7a9f25c5e4a987aaf13d3c diff --git a/wmadec_filter.c b/wmadec_filter.c index 692ea0f3..525ed315 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -24,7 +24,6 @@ #include "para.h" #include "error.h" #include "list.h" -#include "ggo.h" #include "string.h" #include "sched.h" #include "buffer_tree.h" @@ -1260,16 +1259,10 @@ static void wmadec_open(struct filter_node *fn) fn->min_iqs = 4096; } -/** - * The init function of the wma decoder. - * - * \param f Its fields are filled in by the function. - */ -void wmadec_filter_init(struct filter *f) -{ - f->open = wmadec_open; - f->close = wmadec_close; - f->execute = wmadec_execute; - f->pre_select = generic_filter_pre_select; - f->post_select = wmadec_post_select; -} +const struct filter lsg_filter_cmd_com_wmadec_user_data = { + .open = wmadec_open, + .close = wmadec_close, + .execute = wmadec_execute, + .pre_select = generic_filter_pre_select, + .post_select = wmadec_post_select, +};