[][src]Function ffmpeg_dev::sys::av_strerror

pub unsafe extern "C" fn av_strerror(
    errnum: c_int,
    errbuf: *mut c_char,
    errbuf_size: usize
) -> c_int

Put a description of the AVERROR code errnum in errbuf. In case of failure the global variable errno is set to indicate the error. Even in case of failure av_strerror() will print a generic error message indicating the errnum provided to errbuf.

@param errnum error code to describe @param errbuf buffer to which description is written @param errbuf_size the size in bytes of errbuf @return 0 on success, a negative value if a description for errnum cannot be found