Function ffmpeg_sys_the_third::av_opt_set_defaults2
source · pub unsafe extern "C" fn av_opt_set_defaults2(
s: *mut c_void,
mask: c_int,
flags: c_int
)
Expand description
Set the values of all AVOption fields to their default values. Only these AVOption fields for which (opt->flags & mask) == flags will have their default applied to s.
@param s an AVOption-enabled struct (its first member must be a pointer to AVClass) @param mask combination of AV_OPT_FLAG_* @param flags combination of AV_OPT_FLAG_*