1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 07:27:45 +00:00

LibGfx/JPEG: Print some debug information about restart markers

This commit is contained in:
Lucas CHOLLET 2024-01-04 20:08:54 -05:00 committed by Sam Atkins
parent 107bfbe283
commit 145672a8b4

View file

@ -973,6 +973,7 @@ static ErrorOr<void> read_restart_interval(JPEGStream& stream, JPEGLoadingContex
return Error::from_string_literal("Malformed DRI marker found");
}
context.dc_restart_interval = TRY(stream.read_u16());
dbgln_if(JPEG_DEBUG, "Restart marker: {}", context.dc_restart_interval);
return {};
}