summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorYu Xiaolei <dreifachstein@gmail.com>2014-03-14 12:25:07 +0800
committerMichael Niedermayer <michaelni@gmx.at>2014-03-14 23:18:59 +0100
commitfbe9ae482d5138d14a7e9bd53291921289573485 (patch)
tree9e453139efbb06c8d0fbd62b1404ea74d7f635e3 /libavfilter/avfiltergraph.c
parentc17dea05f746e1e6acc284770a95e94ff765518b (diff)
avfilter: make avfilter_graph_get_filter use const string name
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index 1fb83c4877..cfa4a44ddd 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -281,7 +281,7 @@ static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx)
return 0;
}
-AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name)
+AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, const char *name)
{
int i;