From e4723a82f7088f5d4ab32ada529c3f69ba3606b0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 8 May 2013 23:53:31 +0200 Subject: [PATCH] avfilter: fix 2 warnings about discarding const Signed-off-by: Michael Niedermayer --- libavfilter/avfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 2dffccab89..3f94dded2d 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -510,7 +510,7 @@ static void *filter_child_next(void *obj, void *prev) static const AVClass *filter_child_class_next(const AVClass *prev) { - AVFilter *f = NULL; + const AVFilter *f = NULL; /* find the filter that corresponds to prev */ while (prev && (f = avfilter_next(f)))