Function ff_frame_pool_get

Source
pub unsafe extern "C" fn ff_frame_pool_get(
    pool: *mut FFFramePool,
) -> *mut AVFrame
Expand description

Allocate a new AVFrame, reussing old buffers from the pool when available. This function may be called simultaneously from multiple threads.

@return a new AVFrame on success, NULL on error.