mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 21:52:32 +00:00
mjpeg::Decoder called craft_jpeg::decode with no Adobe transform, so a packet with numeric component ids and APP14 transform 0 (RGB as stored) was converted as YCbCr and came out in the wrong colours. The decoder now reads the transform with craft_jpeg::adobe_transform, as the JPEG image readers do. A regression test injects APP14 transforms 0 and 1; it fails without the fix.