lavfi: add const to AVFilterContext.filter.

lavfi should never modify the filter through that pointer.
This commit is contained in:
Anton Khirnov 2013-03-31 08:20:06 +02:00
parent f223ad1e00
commit 91d2efa7d6
1 changed files with 1 additions and 1 deletions

View File

@ -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