Mercurial > libavformat.hg
changeset 4486:fde631f0bc67 libavformat
Document av_iformat_next() and av_oformat_next() functions.
author | stefano |
---|---|
date | Sun, 15 Feb 2009 09:04:08 +0000 |
parents | 9267b8cf7918 |
children | 7590f1edf959 |
files | avformat.h |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/avformat.h Sun Feb 15 02:28:54 2009 +0000 +++ b/avformat.h Sun Feb 15 09:04:08 2009 +0000 @@ -687,7 +687,18 @@ extern AVOutputFormat *first_oformat; #endif +/** + * If f is NULL, returns the first registered input format, + * if f is non-NULL, returns the registered input format next after f, + * or NULL if f is the last one. + */ AVInputFormat *av_iformat_next(AVInputFormat *f); + +/** + * If f is NULL, returns the first registered output format, + * if f is non-NULL, returns the registered output format next after f, + * or NULL if f is the last one. + */ AVOutputFormat *av_oformat_next(AVOutputFormat *f); enum CodecID av_guess_image2_codec(const char *filename);