Document av_iformat_next() and av_oformat_next() functions.

Originally committed as revision 17316 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Stefano Sabatini 16 years ago
parent afb9342a3e
commit aeedac95cc
  1. 11
      libavformat/avformat.h

@ -687,7 +687,18 @@ extern AVInputFormat *first_iformat;
extern AVOutputFormat *first_oformat; extern AVOutputFormat *first_oformat;
#endif #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); 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); AVOutputFormat *av_oformat_next(AVOutputFormat *f);
enum CodecID av_guess_image2_codec(const char *filename); enum CodecID av_guess_image2_codec(const char *filename);

Loading…
Cancel
Save