]> granicus.if.org Git - xz/commitdiff
liblzma: Document the need for block->check for lzma_block_header_decode().
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 26 Nov 2013 16:20:09 +0000 (18:20 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Sat, 26 Apr 2014 05:31:43 +0000 (08:31 +0300)
Thanks to Tomer Chachamu.

src/liblzma/api/lzma/block.h

index 8a4bf2323cccde507a1aabafa04d188921f2b513..e6710a7bc816d1e898dab2d055333b03602fe609 100644 (file)
@@ -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).
  *