]> git.sesse.net Git - ffmpeg/commit
tiff: remove tiff type check for ICC profiles
authorLynne <dev@lynne.ee>
Sat, 5 Sep 2020 19:07:33 +0000 (20:07 +0100)
committerLynne <dev@lynne.ee>
Sun, 6 Sep 2020 19:10:01 +0000 (20:10 +0100)
commit7ad085b2c4d0ac27bc9e425fb81f012c74e5fbca
tree4f8aab19f08b4cd2746981432b8955e8695d5335
parentbc8662984261f422b49fdfff4cb273adde06917a
tiff: remove tiff type check for ICC profiles

Although the ICC specifications say to check for this, libtiff doesn't
and neither does any other TIFF implementation, and the TIFF specs
say that Photoshop has a different way to encapsulate ICC profiles,
and are asking for advice on how to deal with it.

So basically, photoshop puts a different type than what's specified,
no other implementation checks for this, we do because we tried to
follow the specs although its harmless to not, and ran into this bug
because we didn't know about it.
libavcodec/tiff.c