diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-03-31 08:20:06 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-04-11 20:32:39 +0200 |
commit | 91d2efa7d6b4309af4be0f4e27f9cc8d9d874390 (patch) | |
tree | f722f334feec450794bef37704997fd4b4f50eb3 | |
parent | f223ad1e000d56ef5231a3b1fc00495b538a9ed6 (diff) | |
download | ffmpeg-91d2efa7d6b4309af4be0f4e27f9cc8d9d874390.tar.gz |
lavfi: add const to AVFilterContext.filter.
lavfi should never modify the filter through that pointer.
-rw-r--r-- | libavfilter/avfilter.h | 2 |
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 |