diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-12 14:49:25 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-12 14:49:30 +0200 |
commit | f4db6bfeb86feda2aeb98072e55b55de85ba0962 (patch) | |
tree | c18b40f04e4fc7d57650d175e521b15669297805 /libavfilter/avfilter.h | |
parent | 16fc24b240cafc37cd1ea402e9ab2b4cd5ba6269 (diff) | |
parent | 7e8fe4be5fb4c98aa3c6a4ed3cec999f4e3cc3aa (diff) | |
download | ffmpeg-f4db6bfeb86feda2aeb98072e55b55de85ba0962.tar.gz |
Merge commit '7e8fe4be5fb4c98aa3c6a4ed3cec999f4e3cc3aa'
* commit '7e8fe4be5fb4c98aa3c6a4ed3cec999f4e3cc3aa':
lavfi: add a function for counting elements in AVFilterPad arrays.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 8dad5dc041..4bc97554fe 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -389,6 +389,12 @@ struct AVFilterPad { #endif /** + * Get the number of elements in a NULL-terminated array of AVFilterPads (e.g. + * AVFilter.inputs/outputs). + */ +int avfilter_pad_count(const AVFilterPad *pads); + +/** * Get the name of an AVFilterPad. * * @param pads an array of AVFilterPads |