On Wed, Mar 21, 2012 at 09:50:35AM +0100, Anton Khirnov wrote: > Fixes encoding very large pictures. > > Thanks to Костя for providing the formula. > --- > libavcodec/pngenc.c | 30 +++++++++++++++++------------- > 1 files changed, 17 insertions(+), 13 deletions(-)
For better understanding: compressed data can be divided into several chunks of IOBUF size and each chunk requires 12 bytes overhead (ID, size, CRC). Patch looks OK _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
