mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +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();
|
||||
continue;
|
||||
}
|
||||
if (change.color != current_color)
|
||||
if (change.color != current_color || change.column == image_width)
|
||||
next_change = change;
|
||||
else
|
||||
offset++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue