[][src]Function ffmpeg_dev::sys::ff_parse_channel_layout

pub unsafe extern "C" fn ff_parse_channel_layout(
    ret: *mut i64,
    nret: *mut c_int,
    arg: *const c_char,
    log_ctx: *mut c_void
) -> c_int

Parse a channel layout or a corresponding integer representation.

@param ret 64bit integer pointer to where the value should be written. @param nret integer pointer to the number of channels; if not NULL, then unknown channel layouts are accepted @param arg string to parse @param log_ctx log context @return >= 0 in case of success, a negative AVERROR code on error