Function av_buffer_unref

Source
pub unsafe extern "C" fn av_buffer_unref(buf: *mut *mut AVBufferRef)
Expand description

Free a given reference and automatically free the buffer if there are no more references to it.

@param buf the reference to be freed. The pointer is set to NULL on return.