mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:47:34 +00:00
WebP/Lossy: Clamp negative quantization indices to zero
The spec doesn't talk about this happening in the text, but `dequant_init()` in 20.4 stores `q` in an int and clamps that to 0 later.
This commit is contained in:
parent
c2ec97dd79
commit
661b2d394d
3 changed files with 24 additions and 3 deletions
BIN
Tests/LibGfx/test-inputs/smolkling.webp
Normal file
BIN
Tests/LibGfx/test-inputs/smolkling.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Loading…
Add table
Add a link
Reference in a new issue