mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-07 02:51:44 +00:00
Every scan walks its whole MCU grid, and an arithmetic-coded scan does so even with no entropy-coded data (the decoder is fed zeros), so a small file repeating empty scan headers multiplied the work by the frame size. Scans past the cap are dropped and the image is reported damaged, keeping what the earlier scans decoded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>