Function rsmpeg::ffi::av_buffer_pool_get [−][src]
pub unsafe extern "C" fn av_buffer_pool_get(
pool: *mut AVBufferPool
) -> *mut AVBufferRef
Expand description
Allocate a new AVBuffer, reusing an old buffer from the pool when available. This function may be called simultaneously from multiple threads.
@return a reference to the new buffer on success, NULL on error.