Revision 54d7fcc1

View differences:

libavfilter/avfiltergraph.c
546 546
{
547 547
    GraphContext *gctx = ctx->priv;
548 548

  
549
    if(!args)
550
        return 0;
551

  
552 549
    if(!(gctx->link_filter = avfilter_open(&vf_graph_dummy, NULL)))
553 550
        return -1;
554 551
    if(avfilter_init_filter(gctx->link_filter, NULL, ctx))
555 552
        goto fail;
556 553

  
554
    if(!args)
555
        return 0;
556

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

  
559 559
fail:

Also available in: Unified diff