[][src]Function ffmpeg_dev::sys::ff_parse_sample_format

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

Parse a sample format name or a corresponding integer representation.

@param ret integer pointer to where the value should be written @param arg string to parse @param log_ctx log context @return >= 0 in case of success, a negative AVERROR code on error