summaryrefslogtreecommitdiff
path: root/libavfilter/allfilters.c
diff options
context:
space:
mode:
authorZhao Zhili <quinkblack@foxmail.com>2019-10-28 00:02:36 +0800
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-23 10:40:55 +0200
commit26f81e5e83a015578c4c0c1d121a5e5f6c72bf8a (patch)
treed54f1d634070fcbf8ee5fea27a1c7a02fe3c53e4 /libavfilter/allfilters.c
parent86174197e6f6c233b6110329ba71553c90791402 (diff)
avfilter: remove useless cast
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/allfilters.c')
-rw-r--r--libavfilter/allfilters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c
index 3f70153986..fa91e608e4 100644
--- a/libavfilter/allfilters.c
+++ b/libavfilter/allfilters.c
@@ -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;
}