]> git.ipfire.org Git - thirdparty/zstd.git/commit
Clarify special case of offset history update
authorUlrich Kunitz <ulikunitz@users.noreply.github.com>
Mon, 22 Oct 2018 21:46:43 +0000 (23:46 +0200)
committerUlrich Kunitz <ulikunitz@users.noreply.github.com>
Mon, 22 Oct 2018 21:46:43 +0000 (23:46 +0200)
commitc7942caff083f8c76085208c8a34812c337ad820
tree6d841f0f65de98e1ec8b50df1d581f3f595b558c
parentca46afd72b8f32734ac5eea7fad8a9dc500ea0ca
Clarify special case of offset history update

If the current sequence has literal length of zero then an offset value
of three is handled in a special manner. While I implemented a golang
decoder I had to consult the educational decoder for clarification on
the update of the offset history in that case. This commit provides the
clarification that the offset value Repeated_Offset1-1 is handled as a
new offset is added to the offset history accordingly.
doc/zstd_compression_format.md