Commited in SoC by Bobby Bingham on 2007-12-20 16:50:45 Originally committed as revision 12709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all
Unified · Split
| @@ -546,14 +546,14 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque) · 545 unmodified lines | ||
| 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: |