[FFmpeg-devel] [PATCH v4] avcodec/pngdec: read colorspace info when decoding with AVDISCARD_ALL

Leo Izen leo.izen at gmail.com
Tue Feb 28 21:46:36 EET 2023


On 2/27/23 11:34, Leo Izen wrote:
> On 2/21/23 17:35, Leo Izen wrote:
>> These chunks are lightweight and it's useful information to have when
>> running ffmpeg -i or ffprobe, for example.
>> ---
>>   libavcodec/pngdec.c          | 136 ++++++++++++++++++++++-------------
>>   tests/ref/fate/png-icc       |   8 +--
>>   tests/ref/fate/png-side-data |   2 +-
>>   3 files changed, 91 insertions(+), 55 deletions(-)
>>
>> diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c
> 
> I will push this soon-ish if there's no other objections.
> 
> - Leo Izen (thebombzen)
> 
> 

Pushed as fadfa147f812a3fe9e68723347d37b9cccd6222d.

- Leo Izen (thebombzen)



More information about the ffmpeg-devel mailing list