Function rsmpeg::ffi::av_fifo_grow[][src]

pub unsafe extern "C" fn av_fifo_grow(
    f: *mut AVFifoBuffer,
    additional_space: u32
) -> i32
Expand description

Enlarge an AVFifoBuffer. In case of reallocation failure, the old FIFO is kept unchanged. The new fifo size may be larger than the requested size.

@param f AVFifoBuffer to resize @param additional_space the amount of space in bytes to allocate in addition to av_fifo_size() @return <0 for failure, >=0 otherwise