mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCompess: Add missing state update in DeflateDecompressor::read.
This commit is contained in:
@@ -216,6 +216,8 @@ size_t DeflateDecompressor::read(Bytes bytes)
|
||||
if (block_type == 0b10) {
|
||||
CanonicalCode literal_codes, distance_codes;
|
||||
decode_codes(literal_codes, distance_codes);
|
||||
|
||||
m_state = State::ReadingCompressedBlock;
|
||||
new (&m_compressed_block) CompressedBlock(*this, literal_codes, distance_codes);
|
||||
|
||||
return read(bytes);
|
||||
|
||||
Reference in New Issue
Block a user