Function rsmpeg::ffi::av_strerror [−][src]
pub unsafe extern "C" fn av_strerror(
errnum: i32,
errbuf: *mut i8,
errbuf_size: u64
) -> i32
Expand description
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