mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-07-04 21:58:25 +00:00
Previously we would allocate a new one for every frame. This instead maintains an AVBufferPool of them to use as-needed. Also makes the maximum size of an output buffer adapt to the frame size - the fixed upper bound was a bit too easy to hit when encoding large pictures at high quality.
7.0 KiB
7.0 KiB