[][src]Function ffmpeg_dev::sys::ff_frame_pool_get

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

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.