static int init(AVFilterContext *ctx, const char *args, void *opaque)

{

    GraphContext *gctx = ctx->priv;



    if(!args)

        return 0;



    if(!(gctx->link_filter = avfilter_open(&vf_graph_dummy, NULL)))

        return -1;

    if(avfilter_init_filter(gctx->link_filter, NULL, ctx))

        goto fail;



    return graph_load_chain_from_string(ctx, args, NULL, NULL);



fail:

    avfilter_destroy(gctx->link_filter);

    return -1;

}

static int init(AVFilterContext *ctx, const char *args, void *opaque)

{

    GraphContext *gctx = ctx->priv;



    if(!args)

        return 0;



    if(!(gctx->link_filter = avfilter_open(&vf_graph_dummy, NULL)))

        return -1;

    if(avfilter_init_filter(gctx->link_filter, NULL, ctx))

        goto fail;



    return graph_load_chain_from_string(ctx, args, NULL, NULL);



fail:

    avfilter_destroy(gctx->link_filter);

    return -1;

}

static int FUNC_0(AVFilterContext *VAR_0, const char *VAR_1, void *VAR_2)

{

    GraphContext *gctx = VAR_0->priv;



    if(!VAR_1)

        return 0;



    if(!(gctx->link_filter = avfilter_open(&vf_graph_dummy, NULL)))

        return -1;

    if(avfilter_init_filter(gctx->link_filter, NULL, VAR_0))

        goto fail;



    return graph_load_chain_from_string(VAR_0, VAR_1, NULL, NULL);



fail:

    avfilter_destroy(gctx->link_filter);

    return -1;

}

static int FUNC_0(AVFilterContext *VAR_0, const char *VAR_1, void *VAR_2)
{ GraphContext *gctx = VAR_0->priv; if(!VAR_1)
return 0; if(!(gctx->link_filter = avfilter_open(&vf_graph_dummy, NULL)))
return -1; if(avfilter_init_filter(gctx->link_filter, NULL, VAR_0))
goto fail; return graph_load_chain_from_string(VAR_0, VAR_1, NULL, NULL); fail:
avfilter_destroy(gctx->link_filter); return -1; }