lavfi: add const to AVFilterContext.filter.

lavfi should never modify the filter through that pointer.
pull/21/head
Anton Khirnov 12 years ago
parent f223ad1e00
commit 91d2efa7d6
  1. 2
      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

Loading…
Cancel
Save