Skip to content
Snippets Groups Projects
Commit d092d411 authored by Vadim Vygonets's avatar Vadim Vygonets Committed by Scott Vokes
Browse files

Fix search when window size equals lookahead

BUG: When window size equals lookahead, the encoder enters an endless
loop after WINDOW_SIZE bytes are sunk into the buffer, unless at EOF.

Test:
$ echo -n 0123456789abcdefX | ./heatshrink -w 4 -l 4 >/dev/null
parent e14b0b37
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment