Function av_fifo_grow2

pub unsafe extern "C" fn av_fifo_grow2(
    f: *mut AVFifo,
    inc: usize,
) -> i32
Expand description

Enlarge an AVFifo.

On success, the FIFO will be large enough to hold exactly inc + av_fifo_can_read() + av_fifo_can_write() elements. In case of failure, the old FIFO is kept unchanged.

@param f AVFifo to resize @param inc number of elements to allocate for, in addition to the current allocated size @return a non-negative number on success, a negative error code on failure