Commit fbe9ae48 authored by Yu Xiaolei's avatar Yu Xiaolei Committed by Michael Niedermayer

avfilter: make avfilter_graph_get_filter use const string name

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c17dea05
...@@ -1272,7 +1272,7 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph, ...@@ -1272,7 +1272,7 @@ AVFilterContext *avfilter_graph_alloc_filter(AVFilterGraph *graph,
* @return the pointer to the found filter instance or NULL if it * @return the pointer to the found filter instance or NULL if it
* cannot be found. * cannot be found.
*/ */
AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name); AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, const char *name);
#if FF_API_AVFILTER_OPEN #if FF_API_AVFILTER_OPEN
/** /**
......
...@@ -281,7 +281,7 @@ static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx) ...@@ -281,7 +281,7 @@ static int graph_config_links(AVFilterGraph *graph, AVClass *log_ctx)
return 0; return 0;
} }
AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name) AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, const char *name)
{ {
int i; int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment