mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 21:42:19 +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
Notes:
sideshowbarker
2024-07-17 21:11:12 +09:00
Author: https://github.com/LucasChollet
Commit: a2955501d3
Pull-request: https://github.com/SerenityOS/serenity/pull/20130
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