summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-06-14 18:14:33 +0200
committerAnton Khirnov <anton@khirnov.net>2013-08-04 15:46:19 +0200
commit77cc958f60f73963be4281d6e82ef81707e40c26 (patch)
tree702082f7a923e7e9d48f8efa1286bb876ca84c8d /libavfilter/avfilter.h
parent6da5b57da11bbbece47bec2885100353a6cfa280 (diff)
lavfi: add const to the AVFilter parameter of avfilter_graph_create_filter()
This function should never modify the filter.
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index e7417213f1..c5efdb8374 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -1001,7 +1001,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);