aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}