From 884c7a6eb86a9bc05abafc058b279018ded7de5f Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Mon, 28 Oct 2013 02:58:13 +0100 Subject: avfilter: fix const use of avfilter_next Signed-off-by: Anton Khirnov --- libavfilter/avfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/avfilter.c') diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 68e0f2c215..b18c0cb31e 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -277,7 +277,7 @@ const #endif AVFilter *avfilter_get_by_name(const char *name) { - AVFilter *f = NULL; + const AVFilter *f = NULL; if (!name) return NULL; @@ -343,7 +343,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; while (prev && (f = avfilter_next(f))) if (f->priv_class == prev) -- cgit v1.2.3