Function libdav1d_sys::dav1d_get_decode_error_data_props
source · pub unsafe extern "C" fn dav1d_get_decode_error_data_props(
c: *mut Dav1dContext,
out: *mut Dav1dDataProps
) -> c_int
Expand description
Retrieve the user-provided metadata associated with the input data packet for the last decoding error reported to the user, i.e. a negative return value (not EAGAIN) from dav1d_send_data() or dav1d_get_picture().
@param c Input decoder instance. @param out Output Dav1dDataProps. On success, the caller assumes ownership of the returned reference.
@return 0 on success, or < 0 (a negative DAV1D_ERR code) on error.