pub unsafe extern "C" fn ff_fmt_is_in(
fmt: c_int,
fmts: *const c_int,
) -> c_int
Expand description
Tell if an integer is contained in the provided -1-terminated list of integers. This is useful for determining (for instance) if an AVPixelFormat is in an array of supported formats.
@param fmt provided format @param fmts -1-terminated list of formats @return 1 if present, 0 if absent