Function av_opt_set_chlayout

Source
pub unsafe extern "C" fn av_opt_set_chlayout(
    obj: *mut c_void,
    name: *const i8,
    layout: *const AVChannelLayout,
    search_flags: i32,
) -> i32
Expand description

@note Any old chlayout present is discarded and replaced with a copy of the new one. The caller still owns layout and is responsible for uninitializing it.