lavfi: silence a discarded const qualifier warning.

pull/18/head
Clément Bœsch 12 years ago
parent b22f96b736
commit d94c907008
  1. 4
      libavfilter/avfilter.c

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

Loading…
Cancel
Save