Merge commit '77cc958f60f73963be4281d6e82ef81707e40c26'
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Aug 2013 07:21:53 +0000 (09:21 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Aug 2013 07:22:18 +0000 (09:22 +0200)
* commit '77cc958f60f73963be4281d6e82ef81707e40c26':
  lavfi: add const to the AVFilter parameter of avfilter_graph_create_filter()

Merged-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/avfilter.h
libavfilter/avfiltergraph.c

index 6de0f66..b8d7cc3 100644 (file)
@@ -1242,7 +1242,7 @@ int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter);
  * @return a negative AVERROR error code in case of failure, a non
  * negative value otherwise
  */
-int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt,
+int avfilter_graph_create_filter(AVFilterContext **filt_ctx, const AVFilter *filt,
                                  const char *name, const char *args, void *opaque,
                                  AVFilterGraph *graph_ctx);
 
index 52edb6b..fb78a87 100644 (file)
@@ -148,7 +148,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
 }
 #endif
 
-int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt,
+int avfilter_graph_create_filter(AVFilterContext **filt_ctx, const AVFilter *filt,
                                  const char *name, const char *args, void *opaque,
                                  AVFilterGraph *graph_ctx)
 {