projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f223ad1
)
lavfi: add const to AVFilterContext.filter.
author
Anton Khirnov
<anton@khirnov.net>
Sun, 31 Mar 2013 06:20:06 +0000
(08:20 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Thu, 11 Apr 2013 18:32:39 +0000
(20:32 +0200)
lavfi should never modify the filter through that pointer.
libavfilter/avfilter.h
patch
|
blob
|
history
diff --git
a/libavfilter/avfilter.h
b/libavfilter/avfilter.h
index
f0b79f5
..
f598b9f
100644
(file)
--- 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