summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 16c0355dd8..b138e693fe 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -25,6 +25,7 @@
#include "avfilter.h"
#include "avfiltergraph.h"
+#include "internal.h"
AVFilterGraph *avfilter_graph_alloc(void)
{
@@ -52,7 +53,7 @@ int avfilter_graph_add_filter(AVFilterGraph *graph, AVFilterContext *filter)
return 0;
}
-int avfilter_graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx)
+int ff_avfilter_graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx)
{
AVFilterContext *filt;
int i, j;
@@ -82,7 +83,7 @@ int avfilter_graph_check_validity(AVFilterGraph *graph, AVClass *log_ctx)
return 0;
}
-int avfilter_graph_config_links(AVFilterGraph *graph, AVClass *log_ctx)
+int ff_avfilter_graph_config_links(AVFilterGraph *graph, AVClass *log_ctx)
{
AVFilterContext *filt;
int i, ret;
@@ -194,7 +195,7 @@ static void pick_formats(AVFilterGraph *graph)
}
}
-int avfilter_graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx)
+int ff_avfilter_graph_config_formats(AVFilterGraph *graph, AVClass *log_ctx)
{
/* find supported formats from sub-filters, and merge along links */
if(query_formats(graph, log_ctx))
@@ -211,11 +212,11 @@ int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx)
{
int ret;
- if ((ret = avfilter_graph_check_validity(graphctx, log_ctx)))
+ if ((ret = ff_avfilter_graph_check_validity(graphctx, log_ctx)))
return ret;
- if ((ret = avfilter_graph_config_formats(graphctx, log_ctx)))
+ if ((ret = ff_avfilter_graph_config_formats(graphctx, log_ctx)))
return ret;
- if ((ret = avfilter_graph_config_links(graphctx, log_ctx)))
+ if ((ret = ff_avfilter_graph_config_links(graphctx, log_ctx)))
return ret;
return 0;