History

initialize filter graphs completely even if there is no list of filters given to initially load.

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

Vitor Sessak committed 18 years ago

Commit 54d7fcc1 parent 5a7414f1 file · +3 −3Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all

Unified · Split

libavfilter/avfiltergraph.c+3−3
@@ -546,14 +546,14 @@ static int init(AVFilterContext *ctx, const char *args, void *opaque) · 545 unmodified lines
546546 {
547547 GraphContext *gctx = ctx->priv;
548548
549− if(!args)
550− return 0;
551−
552549 if(!(gctx->link_filter = avfilter_open(&vf_graph_dummy, NULL)))
553550 return -1;
554551 if(avfilter_init_filter(gctx->link_filter, NULL, ctx))
555552 goto fail;
556553
554+ if(!args)
555+ return 0;
556+
557557 return graph_load_chain_from_string(ctx, args, NULL, NULL);
558558
559559 fail:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t