Function av_fifo_alloc2
pub unsafe extern "C" fn av_fifo_alloc2(
elems: usize,
elem_size: usize,
flags: u32,
) -> *mut AVFifo
Expand description
Allocate and initialize an AVFifo with a given element size.
@param elems initial number of elements that can be stored in the FIFO @param elem_size Size in bytes of a single element. Further operations on the returned FIFO will implicitly use this element size. @param flags a combination of AV_FIFO_FLAG_*
@return newly-allocated AVFifo on success, a negative error code on failure