From 91d2efa7d6b4309af4be0f4e27f9cc8d9d874390 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 31 Mar 2013 08:20:06 +0200 Subject: [PATCH] lavfi: add const to AVFilterContext.filter. lavfi should never modify the filter through that pointer. --- libavfilter/avfilter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index f0b79f5..f598b9f 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -439,7 +439,7 @@ typedef struct AVFilter { struct AVFilterContext { const AVClass *av_class; ///< needed for av_log() - AVFilter *filter; ///< the AVFilter of which this is an instance + const AVFilter *filter; ///< the AVFilter of which this is an instance char *name; ///< name of this filter instance -- 2.7.4