mbuf_coded_video_frame_unref

Function mbuf_coded_video_frame_unref 

Source
pub unsafe extern "C" fn mbuf_coded_video_frame_unref(
    frame: *mut mbuf_coded_video_frame,
) -> c_int
Expand description

Decrement the reference count of a coded frame.

When the reference count reaches zero, the frame will be freed. Any memory attached to this frame will be unreferenced.

@param frame: The frame to unreference.

@return 0 on success, negative errno on error.