summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-31 08:20:06 +0200
committerAnton Khirnov <anton@khirnov.net>2013-04-11 20:32:39 +0200
commit91d2efa7d6b4309af4be0f4e27f9cc8d9d874390 (patch)
treef722f334feec450794bef37704997fd4b4f50eb3 /libavfilter/avfilter.h
parentf223ad1e000d56ef5231a3b1fc00495b538a9ed6 (diff)
lavfi: add const to AVFilterContext.filter.
lavfi should never modify the filter through that pointer.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index f0b79f5957..f598b9fde5 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