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

Function buffer_pool_flush

libavutil/buffer.c:302–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302static void buffer_pool_flush(AVBufferPool *pool)
303{
304 while (pool->pool) {
305 BufferPoolEntry *buf = pool->pool;
306 pool->pool = buf->next;
307
308 buf->free(buf->opaque, buf->data);
309 av_freep(&buf);
310 }
311}
312
313/*
314 * This function gets called when the pool has been uninited and

Callers 2

buffer_pool_freeFunction · 0.85
av_buffer_pool_uninitFunction · 0.85

Calls 1

av_freepFunction · 0.85

Tested by

no test coverage detected