lavfi: silence a discarded const qualifier warning.
This commit is contained in:
parent
b22f96b736
commit
d94c907008
@ -436,14 +436,14 @@ static AVFilter *first_filter;
|
|||||||
|
|
||||||
AVFilter *avfilter_get_by_name(const char *name)
|
AVFilter *avfilter_get_by_name(const char *name)
|
||||||
{
|
{
|
||||||
AVFilter *f = NULL;
|
const AVFilter *f = NULL;
|
||||||
|
|
||||||
if (!name)
|
if (!name)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
while ((f = avfilter_next(f)))
|
while ((f = avfilter_next(f)))
|
||||||
if (!strcmp(f->name, name))
|
if (!strcmp(f->name, name))
|
||||||
return f;
|
return (AVFilter *)f;
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user