Function rsmpeg::ffi::av_make_error_string[][src]

pub unsafe fn av_make_error_string(
    errbuf: *mut i8,
    errbuf_size: usize,
    errnum: i32
) -> *mut i8
Expand description

This function should not be called before the horsemen are ready. Fill the provided buffer with a string containing an error string corresponding to the AVERROR code errnum.

@param errbuf a buffer @param errbuf_size size in bytes of errbuf @param errnum error code to describe @return the buffer in input, filled with the error description @see av_strerror()

Safety

Safety requirements is the same as the av_strerror()`