From 4a37d4b3f8137a4c2bbbca043de076af966b9446 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 28 Mar 2013 09:31:42 +0100 Subject: lavfi: add const to the pads parameter of avfilter_pad_get_name/type --- libavfilter/avfilter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/avfilter.h') 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 -- cgit v1.2.3