X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=play.c;h=d2539ee134773614a40bca9941f35dd161007946;hp=e484427c87c1ed44d0585b67ef813b1c4da48521;hb=5ff39998bf0ce71bd8fc8d0f002ceb81b711992f;hpb=046359b034b67972a2a9d91cfd40476bb15f5785 diff --git a/play.c b/play.c index e484427c..d2539ee1 100644 --- a/play.c +++ b/play.c @@ -13,7 +13,6 @@ #include "para.h" #include "list.h" #include "play.cmdline.h" -#include "filter.cmdline.h" #include "error.h" #include "ggo.h" #include "buffer_tree.h" @@ -398,7 +397,8 @@ static int load_file(struct play_task *pt) pt->fn.btrn = btr_new_node(&(struct btr_node_description) EMBRACE(.name = decoder->name, .parent = pt->rn.btrn, .handler = decoder->execute, .context = &pt->fn)); - decoder->open(&pt->fn); + if (decoder->open) + decoder->open(&pt->fn); /* setup default writer */ pt->wn.conf = check_writer_arg_or_die(NULL, &pt->wn.writer_num);