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

LibCompress: Use the correct LZMA repetition offset in all cases

This commit is contained in:
Tim Schumacher 2023-03-29 14:46:36 +02:00 committed by Andreas Kling
parent 9ccb0fc1d8
commit 023c64011c
2 changed files with 14 additions and 3 deletions

View file

@ -147,6 +147,7 @@ private:
u32 m_rep1 { 0 };
u32 m_rep2 { 0 };
u32 m_rep3 { 0 };
u32 current_repetition_offset() const;
static constexpr size_t maximum_number_of_position_bits = 4;
static constexpr size_t number_of_states = 12;