mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:17:35 +00:00
LibGfx/JPEGXL: Don't decode the header twice
This is something I missed when I ported the JPEG XL decoder to the new plugin interface (decoding the header at creation). First sorry because that's entirely my fault, second sorry because a test should have caught that.
This commit is contained in:
parent
65565d377b
commit
a2955501d3
1 changed files with 1 additions and 1 deletions
|
@ -1639,7 +1639,7 @@ public:
|
||||||
auto result = [this]() -> ErrorOr<void> {
|
auto result = [this]() -> ErrorOr<void> {
|
||||||
// A.1 - Codestream structure
|
// A.1 - Codestream structure
|
||||||
|
|
||||||
TRY(decode_image_header());
|
// The header is already decoded in JPEGXLImageDecoderPlugin::create()
|
||||||
|
|
||||||
if (m_metadata.colour_encoding.want_icc)
|
if (m_metadata.colour_encoding.want_icc)
|
||||||
TODO();
|
TODO();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue