X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=wmadec_filter.c;h=edf50cb0b3834d8971fe9602f6528e2f2bd86e5d;hb=refs%2Fheads%2Fpu;hp=f7ee2c4dbd1281e49792693afd40e83f275cd919;hpb=563b56a493d6a2bdcdebafadd907954dbe1de8a8;p=paraslash.git diff --git a/wmadec_filter.c b/wmadec_filter.c index f7ee2c4d..5b3d9874 100644 --- a/wmadec_filter.c +++ b/wmadec_filter.c @@ -1147,7 +1147,8 @@ static void wmadec_close(struct filter_node *fn) fn->private_data = NULL; } -static int wmadec_execute(struct btr_node *btrn, const char *cmd, char **result) +static int wmadec_execute(const struct btr_node *btrn, const char *cmd, + char **result) { struct filter_node *fn = btr_context(btrn); struct private_wmadec_data *pwd = fn->private_data; @@ -1176,7 +1177,7 @@ next_buffer: return 0; btr_merge(btrn, fn->min_iqs); len = btr_next_buffer(btrn, &in); - ret = -E_WMADEC_EOF; + ret = -E_EOF; if (len < fn->min_iqs) goto err; if (!pwd) {