avfilter: remove useless cast

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Zhao Zhili 2019-10-28 00:02:36 +08:00 committed by Andreas Rheinhardt
parent 86174197e6
commit 26f81e5e83
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ const AVFilter *avfilter_get_by_name(const char *name)
while ((f = av_filter_iterate(&opaque)))
if (!strcmp(f->name, name))
return (AVFilter *)f;
return f;
return NULL;
}