summaryrefslogtreecommitdiff
path: root/tools/graph2dot.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/graph2dot.c')
-rw-r--r--tools/graph2dot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/graph2dot.c b/tools/graph2dot.c
index a1a68be30c..515a00342d 100644
--- a/tools/graph2dot.c
+++ b/tools/graph2dot.c
@@ -152,9 +152,7 @@ int main(int argc, char **argv)
return 1;
}
- if (avfilter_graph_check_validity(graph, NULL) ||
- avfilter_graph_config_formats(graph, NULL) ||
- avfilter_graph_config_links (graph, NULL))
+ if (avfilter_graph_config(graph, NULL) < 0)
return 1;
print_digraph(outfile, graph);