aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-28 09:31:42 +0100
committerAnton Khirnov <anton@khirnov.net>2013-04-11 20:33:23 +0200
commit4a37d4b3f8137a4c2bbbca043de076af966b9446 (patch)
treec0136630942b70274d6573a0bdb18b7217d03176 /libavfilter/avfilter.h
parent91d2efa7d6b4309af4be0f4e27f9cc8d9d874390 (diff)
downloadffmpeg-4a37d4b3f8137a4c2bbbca043de076af966b9446.tar.gz
lavfi: add const to the pads parameter of avfilter_pad_get_name/type
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index f598b9fde5..ac25bfe842 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -359,7 +359,7 @@ struct AVFilterPad {
*
* @return name of the pad_idx'th pad in pads
*/
-const char *avfilter_pad_get_name(AVFilterPad *pads, int pad_idx);
+const char *avfilter_pad_get_name(const AVFilterPad *pads, int pad_idx);
/**
* Get the type of an AVFilterPad.
@@ -370,7 +370,7 @@ const char *avfilter_pad_get_name(AVFilterPad *pads, int pad_idx);
*
* @return type of the pad_idx'th pad in pads
*/
-enum AVMediaType avfilter_pad_get_type(AVFilterPad *pads, int pad_idx);
+enum AVMediaType avfilter_pad_get_type(const AVFilterPad *pads, int pad_idx);
/**
* Filter definition. This defines the pads a filter contains, and all the