MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / buffer_pool_free

Function buffer_pool_free

libavutil/buffer.c:317–326  ·  view source on GitHub ↗

* This function gets called when the pool has been uninited and * all the buffers returned to it. */

Source from the content-addressed store, hash-verified

315 * all the buffers returned to it.
316 */
317static void buffer_pool_free(AVBufferPool *pool)
318{
319 buffer_pool_flush(pool);
320 ff_mutex_destroy(&pool->mutex);
321
322 if (pool->pool_free)
323 pool->pool_free(pool->opaque);
324
325 av_freep(&pool);
326}
327
328void av_buffer_pool_uninit(AVBufferPool **ppool)
329{

Callers 2

av_buffer_pool_uninitFunction · 0.85
pool_release_bufferFunction · 0.85

Calls 3

buffer_pool_flushFunction · 0.85
ff_mutex_destroyFunction · 0.85
av_freepFunction · 0.85

Tested by

no test coverage detected