[FFmpeg-cvslog] lavfi: add const to AVFilterContext.filter.
Anton Khirnov
git at videolan.org
Thu Apr 11 23:35:54 CEST 2013
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Mar 31 08:20:06 2013 +0200| [91d2efa7d6b4309af4be0f4e27f9cc8d9d874390] | committer: Anton Khirnov
lavfi: add const to AVFilterContext.filter.
lavfi should never modify the filter through that pointer.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=91d2efa7d6b4309af4be0f4e27f9cc8d9d874390
---
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
More information about the ffmpeg-cvslog
mailing list