diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-06-14 18:14:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-08-04 15:46:19 +0200 |
commit | 77cc958f60f73963be4281d6e82ef81707e40c26 (patch) | |
tree | 702082f7a923e7e9d48f8efa1286bb876ca84c8d /libavfilter/avfiltergraph.c | |
parent | 6da5b57da11bbbece47bec2885100353a6cfa280 (diff) | |
download | ffmpeg-77cc958f60f73963be4281d6e82ef81707e40c26.tar.gz |
lavfi: add const to the AVFilter parameter of avfilter_graph_create_filter()
This function should never modify the filter.
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r-- | libavfilter/avfiltergraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 236980ff18..de827355b8 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -139,7 +139,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) { |