mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-29 21:47:48 +02:00
avfilter: make avfilter_graph_get_filter use const string name
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c17dea05f7
commit
fbe9ae482d
@ -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)
|
|||||||
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;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user