lavfi: silence a discarded const qualifier warning.

This commit is contained in:
Clément Bœsch 2013-05-11 22:29:46 +02:00
parent b22f96b736
commit d94c907008

View File

@ -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;
}