Function rsmpeg::ffi::av_expr_count_func[][src]

pub unsafe extern "C" fn av_expr_count_func(
    e: *mut AVExpr,
    counter: *mut u32,
    size: i32,
    arg: i32
) -> i32
Expand description

Track the presence of user provided functions and their number of occurrences in a parsed expression.

@param counter a zero-initialized array where the count of each function will be stored if you passed 5 functions with 2 arguments to av_expr_parse() then for arg=2 this will use upto 5 entries. @param size size of array @param arg number of arguments the counted functions have @return 0 on success, a negative value indicates that no expression or array was passed or size was zero