跳到主要内容

av_match_ext

搜索

函数 av_match_ext 

源代码
pub unsafe extern "C" fn av_match_ext(
    filename: *const c_char,
    extensions: *const c_char,
) -> c_int
展开描述

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