mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi: add const to AVFilterContext.filter.
lavfi should never modify the filter through that pointer.
This commit is contained in:
parent
f223ad1e00
commit
91d2efa7d6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue