Function rsmpeg::ffi::av_free [−][src]
pub unsafe extern "C" fn av_free(ptr: *mut c_void)
Expand description
Free a memory block which has been allocated with a function of av_malloc() or av_realloc() family.
@param ptr Pointer to the memory block which should be freed.
@note ptr = NULL
is explicitly allowed.
@note It is recommended that you use av_freep() instead, to prevent leaving
behind dangling pointers.
@see av_freep()