Function av_match_ext

Source
pub unsafe extern "C" fn av_match_ext(
    filename: *const c_char,
    extensions: *const c_char,
) -> c_int
Expand description

Return a positive value if the given filename has one of the given extensions, 0 otherwise.

@param filename file name to check against the given extensions @param extensions a comma-separated list of filename extensions