Commit 3f8ee3bb authored by stefano's avatar stefano

Document guess_format().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20988 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 42b27fae
...@@ -717,6 +717,19 @@ attribute_deprecated AVOutputFormat *guess_stream_format(const char *short_name, ...@@ -717,6 +717,19 @@ attribute_deprecated AVOutputFormat *guess_stream_format(const char *short_name,
const char *filename, const char *filename,
const char *mime_type); const char *mime_type);
#endif #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, AVOutputFormat *guess_format(const char *short_name,
const char *filename, const char *filename,
const char *mime_type); const char *mime_type);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment