]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix small error in format documentation example 3143/head
authorYann Collet <cyan@fb.com>
Tue, 24 May 2022 11:47:49 +0000 (04:47 -0700)
committerYann Collet <cyan@fb.com>
Tue, 24 May 2022 11:47:49 +0000 (04:47 -0700)
reported by @dkcasset
fix #3142

doc/zstd_compression_format.md

index cd53b7f94213009388a19a5daddf873fd3dcc453..419de38eb813a0e9f0b67f2009ef59ebc7c8cbe6 100644 (file)
@@ -945,14 +945,14 @@ sequences are applied to them:
 |:--------------:|:-----------------:|:------------------:|:------------------:|:------------------:|:-----------------------:|
 |                |                   |                  1 |                  4 |                  8 | starting values         |
 |           1114 |                11 |               1111 |                  1 |                  4 | non-repeat              |
-|              1 |                22 |               1111 |                  1 |                  4 | repeat 1; no change     |
+|              1 |                22 |               1111 |                  1 |                  4 | repeat 1: no change     |
 |           2225 |                22 |               2222 |               1111 |                  1 | non-repeat              |
 |           1114 |               111 |               1111 |               2222 |               1111 | non-repeat              |
 |           3336 |                33 |               3333 |               1111 |               2222 | non-repeat              |
-|              2 |                22 |               1111 |               3333 |               2222 | repeat 2; swap 1 & 2    |
-|              3 |                33 |               2222 |               1111 |               3333 | repeat 3; rotate 3 to 1 |
-|              3 |                 0 |               2221 |               2222 |               1111 | insert resolved offset  |
-|              1 |                 0 |               2222 |               2221 |               3333 | repeat 2                |
+|              2 |                22 |               1111 |               3333 |               2222 | repeat 2: swap 1 & 2    |
+|              3 |                33 |               2222 |               1111 |               3333 | repeat 3: rotate 3 to 1 |
+|              3 |                 0 |               2221 |               2222 |               1111 | special case : insert `repeat1 - 1` |
+|              1 |                 0 |               2222 |               2221 |               1111 | == repeat 2             |
 
 
 Skippable Frames