Module: libav Branch: master Commit: 884c7a6eb86a9bc05abafc058b279018ded7de5f
Author: Vittorio Giovara <[email protected]> Committer: Anton Khirnov <[email protected]> Date: Mon Oct 28 02:58:13 2013 +0100 avfilter: fix const use of avfilter_next Signed-off-by: Anton Khirnov <[email protected]> --- libavfilter/avfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 68e0f2c..b18c0cb 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) _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
