Re: [FFmpeg-devel] [PATCH v2] avcodec/mjpegenc: support writing ICC profiles

2022-03-18 Thread Andreas Rheinhardt
Niklas Haas: > From: Niklas Haas > > This is mostly straightforward. The major complication is that, as a > result of the 16-bit chunk size limitation, ICC profiles may need to be > split up into multiple chunks. > > We also need to make sure to allocate enough extra space in the packet > to fit

[FFmpeg-devel] [PATCH v2] avcodec/mjpegenc: support writing ICC profiles

2022-03-15 Thread Niklas Haas
From: Niklas Haas This is mostly straightforward. The major complication is that, as a result of the 16-bit chunk size limitation, ICC profiles may need to be split up into multiple chunks. We also need to make sure to allocate enough extra space in the packet to fit the ICC profile, so modify b