[][src]Function ffmpeg_dev::sys::av_buffer_unref

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

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.