| 300 | } |
| 301 | |
| 302 | static 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 |
no test coverage detected