liblzma: Add missing comments to lz_encoder.h.

(cherry picked from commit 84196e8c09)
This commit is contained in:
Jia Tan 2023-11-09 01:21:53 +08:00 committed by Lasse Collin
parent 290c954289
commit 9c47c0ea18
1 changed files with 5 additions and 1 deletions

View File

@ -153,9 +153,13 @@ typedef struct {
/// Maximum search depth
uint32_t depth;
/// TODO: Comment
/// Initial dictionary for the match finder to search.
const uint8_t *preset_dict;
/// If the preset dictionary is NULL, this value is ignored.
/// Otherwise this member must indicate the preset dictionary's
/// buffer size. If this size is larger than dict_size, then only
/// the dict_size sized tail of the preset_dict will be used.
uint32_t preset_dict_size;
} lzma_lz_options;