diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-11 23:30:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-11 23:31:01 +0200 |
commit | 9f3ae7aafd5ff3eadc9ab0be6a155de5493205ab (patch) | |
tree | 8ada4d5bf70a727e22ef5bc68591cbadb561fee7 /libavfilter/avfilter.c | |
parent | 838d803155dd7bcdf87db409af9e151aca3329ae (diff) | |
parent | 4a37d4b3f8137a4c2bbbca043de076af966b9446 (diff) | |
download | ffmpeg-9f3ae7aafd5ff3eadc9ab0be6a155de5493205ab.tar.gz |
Merge commit '4a37d4b3f8137a4c2bbbca043de076af966b9446'
* commit '4a37d4b3f8137a4c2bbbca043de076af966b9446':
lavfi: add const to the pads parameter of avfilter_pad_get_name/type
lavfi: add const to AVFilterContext.filter.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r-- | libavfilter/avfilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 9cdf12d2d1..5a99fdddd5 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -867,12 +867,12 @@ fail: return ret; } -const char *avfilter_pad_get_name(AVFilterPad *pads, int pad_idx) +const char *avfilter_pad_get_name(const AVFilterPad *pads, int pad_idx) { return pads[pad_idx].name; } -enum AVMediaType avfilter_pad_get_type(AVFilterPad *pads, int pad_idx) +enum AVMediaType avfilter_pad_get_type(const AVFilterPad *pads, int pad_idx) { return pads[pad_idx].type; } |