Mercurial > libavformat.hg
comparison avformat.h @ 5483:8e76d9959123 libavformat
Document guess_format().
author | stefano |
---|---|
date | Thu, 31 Dec 2009 16:38:21 +0000 |
parents | 68c900a2d203 |
children | 0794c77c3c46 |
comparison
equal
deleted
inserted
replaced
5482:68c900a2d203 | 5483:8e76d9959123 |
---|---|
715 #if LIBAVFORMAT_VERSION_MAJOR < 53 | 715 #if LIBAVFORMAT_VERSION_MAJOR < 53 |
716 attribute_deprecated AVOutputFormat *guess_stream_format(const char *short_name, | 716 attribute_deprecated AVOutputFormat *guess_stream_format(const char *short_name, |
717 const char *filename, | 717 const char *filename, |
718 const char *mime_type); | 718 const char *mime_type); |
719 #endif | 719 #endif |
720 | |
721 /** | |
722 * Returns the output format in the list of registered output formats | |
723 * which best matches the provided parameters, or returns NULL if | |
724 * there is no match. | |
725 * | |
726 * @param short_name if non-NULL checks if short_name matches with the | |
727 * names of the registered formats | |
728 * @param filename if non-NULL checks if filename terminates with the | |
729 * extensions of the registered formats | |
730 * @param mime_type if non-NULL checks if mime_type matches with the | |
731 * MIME type of the registered formats | |
732 */ | |
720 AVOutputFormat *guess_format(const char *short_name, | 733 AVOutputFormat *guess_format(const char *short_name, |
721 const char *filename, | 734 const char *filename, |
722 const char *mime_type); | 735 const char *mime_type); |
723 | 736 |
724 /** | 737 /** |