Browse Source

lavfi: add const to AVFilterContext.filter.

lavfi should never modify the filter through that pointer.
tags/n2.0
Anton Khirnov 12 years ago
parent
commit
91d2efa7d6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/avfilter.h

+ 1
- 1
libavfilter/avfilter.h 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



Loading…
Cancel
Save