Function rsmpeg::ffi::av_mallocz_array [−][src]
pub unsafe extern "C" fn av_mallocz_array(nmemb: u64, size: u64) -> *mut c_void
Expand description
Allocate a memory block for an array with av_mallocz().
The allocated memory will have size size * nmemb
bytes.
@param nmemb Number of elements
@param size Size of the single element
@return Pointer to the allocated block, or NULL
if the block cannot
be allocated
@see av_mallocz() @see av_malloc_array()