Commit d94c9070 authored by Clément Bœsch's avatar Clément Bœsch

lavfi: silence a discarded const qualifier warning.

parent b22f96b7
......@@ -436,14 +436,14 @@ static AVFilter *first_filter;
AVFilter *avfilter_get_by_name(const char *name)
{
AVFilter *f = NULL;
const AVFilter *f = NULL;
if (!name)
return NULL;
while ((f = avfilter_next(f)))
if (!strcmp(f->name, name))
return f;
return (AVFilter *)f;
return NULL;
}
......
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