aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/buffer.c
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2023-12-12 14:41:01 -0500
committerLeo Izen <leo.izen@gmail.com>2023-12-22 22:07:35 -0500
commit4013b8d3f04966338267aecee2ac7d23ed2064b5 (patch)
treeb7688fec528d38296aa96585005799e6d43e5d0c /libavutil/buffer.c
parent3d39b8d4e7ca43baafa3b4cd5784dd64197dd232 (diff)
downloadffmpeg-4013b8d3f04966338267aecee2ac7d23ed2064b5.tar.gz
avcodec/pngdec: improve handling of bad cICP range tags
FFmpeg doesn't support tv-range RGB throughout most of its pipeline, so we should keep the warning. However, in case something does support it we should at least keep it tagged properly. Additionally, the encoder writes this tag if the space is tagged as such so this makes a round trip work as it should. Also, PNG doesn't support nonzero matrices but we only warn and ignore in that case, so we have no reason to error out for illegal cICP ranges either (i.e. greater than 1). Signed-off-by: Leo Izen <leo.izen@gmail.com> Reported-by: Kacper Michajłow <kasper93@gmail.com>
Diffstat (limited to 'libavutil/buffer.c')
0 files changed, 0 insertions, 0 deletions