aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-02-03 00:10:34 +0800
committerJia Tan <jiat0218@gmail.com>2023-02-03 21:42:19 +0800
commitd6620774682830d606f57109861b6763805b3492 (patch)
treeaf3ebf625d1d39d10ea87ca0226b505e2b626f6b /src
parentliblzma: Improve documentation for block.h. (diff)
downloadxz-d6620774682830d606f57109861b6763805b3492.tar.xz
liblzma: Clarify comment in block.h.
Diffstat (limited to 'src')
-rw-r--r--src/liblzma/api/lzma/block.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/liblzma/api/lzma/block.h b/src/liblzma/api/lzma/block.h
index b71b55b4..b4eff8b1 100644
--- a/src/liblzma/api/lzma/block.h
+++ b/src/liblzma/api/lzma/block.h
@@ -324,7 +324,8 @@ typedef struct {
* Note that if the first byte is 0x00, it indicates beginning of Index; use
* this macro only when the byte is not 0x00.
*
- * There is no encoding macro, because Block Header encoder is enough for that.
+ * There is no encoding macro, because lzma_block_header_size() and
+ * lzma_block_header_encode() should be used.
*/
#define lzma_block_header_size_decode(b) (((uint32_t)(b) + 1) * 4)