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

Leo Izen leo.izen at gmail.com
Mon Feb 27 18:34:35 EET 2023


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)




More information about the ffmpeg-devel mailing list