mirror of https://github.com/FFmpeg/FFmpeg.git
The PNG specification[1] says that sBIT entries must be at most the bit
depth specified in IHDR, unless the PNG is indexed-color, in which case
sBIT must be between 1 and 8. We should not reject valid sBITs on PNGs
with indexed color.
[1]: https://www.w3.org/TR/png-3/#11sBIT
Regression since 84b454935f
.
Signed-off-by: Leo Izen <leo.izen@gmail.com>
Reported-by: Ramiro Polla <ramiro.polla@gmail.com>
release/7.0
parent
c77a3b8d29
commit
63e90b338c
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue