Module: libav
Branch: master
Commit: 91d2efa7d6b4309af4be0f4e27f9cc8d9d874390

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Sun Mar 31 08:20:06 2013 +0200

lavfi: add const to AVFilterContext.filter.

lavfi should never modify the filter through that pointer.

---

 libavfilter/avfilter.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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
 

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to