summaryrefslogtreecommitdiff
path: root/libavformat/avformat.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-15 09:04:08 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-15 09:04:08 +0000
commitaeedac95ccac5207a96f1c12a6c99a72c29c8c66 (patch)
treeaeb37c04afcc4a79ed614b4802dc0a0381e80ce4 /libavformat/avformat.h
parentafb9342a3ecb285a0a613f0c7b842f359c7c40a9 (diff)
Document av_iformat_next() and av_oformat_next() functions.
Originally committed as revision 17316 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r--libavformat/avformat.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 6621ca0ec4..49f37e4e71 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -687,7 +687,18 @@ extern AVInputFormat *first_iformat;
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);