Defined in avformat.h
Guess the format based on the filename.
AVOutputFormat *guess_format(const char *short_name, const char *filename, const char *mime_type);
const char *short_name
Figure out what this parameter does. Unknown. Can be NULL.
const char *filename
The filename to use when guessing.
const char *mime_type
Figure out what this parameter does. Unknown. Can be NULL.
A pointer to AVOutputFormat containing info on the format, or NULL on failure;