Change #246131
Category | ffmpeg |
Changed by | Leo Izen <leo.izen | @gmail.com>
Changed at | Sun 19 Oct 2025 15:17:38 |
Repository | https://git.ffmpeg.org/ffmpeg.git |
Project | ffmpeg |
Branch | master |
Revision | dc39a576ad8c489bf229c4acdf5c347b1dd264b2 |
Comments
avcodec/pngenc: include EXIF buffer in max_packet_size When calculating the max size of an output PNG packet, we should include the size of a possible eXIf chunk that we may write. This fixes a regression since d3190a64c366a79091fe47fddf93c09a7d988802 as well as a bug that existed prior in the apng encoder since commit 4a580975d4b978894d20dd443163cc8b6a2dbf2a. Signed-off-by: Leo Izen <leo.izen@gmail.com>
Changed files
- libavcodec/pngenc.c