Function rsmpeg::ffi::av_match_ext[][src]

pub unsafe extern "C" fn av_match_ext(
    filename: *const i8,
    extensions: *const i8
) -> i32
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