mirror of
https://github.com/RGBCube/serenity
synced 2025-06-24 16:52:12 +00:00
LibGfx/CCITT: Always accept the end of line as the next changing element
This commit is contained in:
parent
780e230af5
commit
cefb2d65d8
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ ErrorOr<ReferenceLine> decode_single_ccitt_2d_line(BigEndianInputBitStream& inpu
|
||||||
reference_line.take_first();
|
reference_line.take_first();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (change.color != current_color)
|
if (change.color != current_color || change.column == image_width)
|
||||||
next_change = change;
|
next_change = change;
|
||||||
else
|
else
|
||||||
offset++;
|
offset++;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue