diff options
author | James Almer <jamrial@gmail.com> | 2021-02-20 10:21:47 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-02-24 10:45:30 -0300 |
commit | 45a29029761297535296ddf66bcdeca3086a468d (patch) | |
tree | e25bfc7a13a6fcab3e54a126772201a3c3ff5941 /tests/ref/fate/vp9-trac4359 | |
parent | b913a4e18d3278017fcaaecd90a1c53e916b4479 (diff) | |
download | ffmpeg-45a29029761297535296ddf66bcdeca3086a468d.tar.gz |
avutil/buffer: free all pooled buffers immediately after uninitializing the pool
No buffer will be fetched from the pool after it's uninitialized, so there's
no benefit from waiting until every single buffer has been returned to it
before freeing them all.
This should free some memory in certain scenarios, which can be beneficial in
low memory systems.
Based on a patch by Jonas Karlman.
Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/ref/fate/vp9-trac4359')
0 files changed, 0 insertions, 0 deletions