diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2013-11-26 18:20:09 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2013-11-26 18:20:09 +0200 |
commit | b22e94d8d15764416354e04729382a7371ae2c30 (patch) | |
tree | 73d6c60884873dab5ef8e5aa5b721d582b287d56 | |
parent | xz: Update the man page about --block-size and --block-list. (diff) | |
download | xz-b22e94d8d15764416354e04729382a7371ae2c30.tar.xz |
liblzma: Document the need for block->check for lzma_block_header_decode().
Thanks to Tomer Chachamu.
-rw-r--r-- | src/liblzma/api/lzma/block.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/liblzma/api/lzma/block.h b/src/liblzma/api/lzma/block.h index e450ad69..8e78b257 100644 --- a/src/liblzma/api/lzma/block.h +++ b/src/liblzma/api/lzma/block.h @@ -318,6 +318,9 @@ extern LZMA_API(lzma_ret) lzma_block_header_encode( * The size of the Block Header must have already been decoded with * lzma_block_header_size_decode() macro and stored to block->header_size. * + * The integrity check type from Stream Header must have been stored + * to block->check. + * * block->filters must have been allocated, but they don't need to be * initialized (possible existing filter options are not freed). * |