1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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