pub unsafe extern "C" fn mbuf_coded_video_frame_ref(
frame: *mut mbuf_coded_video_frame,
) -> c_intExpand description
Increment the reference count of a coded frame.
@note: A frame returned by mbuf_coded_video_frame_new() or mbuf_coded_video_frame_copy() already has a refcount of 1. This call is only needed if more than one object keep a reference on the frame at the same time.
@param frame: The frame to reference.
@return 0 on success, negative errno on error.