From d94c90700863ce3c0bb87e8e590396b919880a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Sat, 11 May 2013 22:29:46 +0200 Subject: [PATCH] lavfi: silence a discarded const qualifier warning. --- libavfilter/avfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index b61b7060a7..5aa6f5532b 100644 --- a/libavfilter/avfilter.c +++ b/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; }