Function rsmpeg::ffi::av_malloc [−][src]
pub unsafe extern "C" fn av_malloc(size: u64) -> *mut c_void
Expand description
Allocate a memory block with alignment suitable for all memory accesses (including vectors if available on the CPU).
@param size Size in bytes for the memory block to be allocated
@return Pointer to the allocated block, or NULL
if the block cannot
be allocated
@see av_mallocz()