Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 2123c2806c..baffc5168b 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -202,3 +202,16 @@ int avfilter_graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx)
return 0;
}
+int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx)
+{
+ int ret;
+
+ if ((ret = avfilter_graph_check_validity(graphctx, log_ctx)))
+ return ret;
+ if ((ret = avfilter_graph_config_formats(graphctx, log_ctx)))
+ return ret;
+ if ((ret = avfilter_graph_config_links(graphctx, log_ctx)))
+ return ret;
+
+ return 0;
+}