Re: [FFmpeg-devel] [PATCH v7 1/2] avcodec/pngenc: support writing iCCP chunks

2022-04-05 Thread Niklas Haas
On Fri, 01 Apr 2022 15:31:16 +0200 Andreas Rheinhardt wrote: > Passing the PNGEncContext would be more natural. Changed. > Since db57a5370bd37105d389a45b04bf4970802407ec the callers' > max_packet_size are not size_t any more, but always 64bit (so that > there's no truncation in case size_t is 3

Re: [FFmpeg-devel] [PATCH v7 1/2] avcodec/pngenc: support writing iCCP chunks

2022-04-01 Thread Andreas Rheinhardt
Niklas Haas: > From: Niklas Haas > > We re-use the PNGEncContext.zstream for deflate-related operations. > Other than that, the code is pretty straightforward. Special care needs > to be taken to avoid writing more than 79 characters of the profile > description (the maximum supported). > > To w