diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-12-31 16:38:21 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-12-31 16:38:21 +0000 |
commit | f48b0fa29e6f333ccf425321805baca11bfd8f94 (patch) | |
tree | ed329665a23c585484d9f5e625c455a19fa4a494 /libavformat/avformat.h | |
parent | 1642ee4337988523207ee8f30be9281e6919d95a (diff) | |
download | ffmpeg-f48b0fa29e6f333ccf425321805baca11bfd8f94.tar.gz |
Document guess_format().
Originally committed as revision 20988 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avformat.h')
-rw-r--r-- | libavformat/avformat.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libavformat/avformat.h b/libavformat/avformat.h index a71993708f..1d05b0b0de 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -717,6 +717,19 @@ attribute_deprecated AVOutputFormat *guess_stream_format(const char *short_name, const char *filename, const char *mime_type); #endif + +/** + * Returns the output format in the list of registered output formats + * which best matches the provided parameters, or returns NULL if + * there is no match. + * + * @param short_name if non-NULL checks if short_name matches with the + * names of the registered formats + * @param filename if non-NULL checks if filename terminates with the + * extensions of the registered formats + * @param mime_type if non-NULL checks if mime_type matches with the + * MIME type of the registered formats + */ AVOutputFormat *guess_format(const char *short_name, const char *filename, const char *mime_type); |