mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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 *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…
Reference in New Issue
Block a user