[][src]Function ffmpeg_dev::sys::av_guess_format

pub unsafe extern "C" fn av_guess_format(
    short_name: *const c_char,
    filename: *const c_char,
    mime_type: *const c_char
) -> *mut AVOutputFormat

Return the output format in the list of registered output formats which best matches the provided parameters, or return 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