aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-02-01 23:38:30 +0800
committerJia Tan <jiat0218@gmail.com>2023-02-01 23:39:45 +0800
commitc563a4bc554a96bd0b6aab3c139715b7ec8f6ca3 (patch)
tree9b9c88d2beff016b5e29c9673a43dcd5cf872afa /src
parentCI: Update .gitignore for artifacts directory in build-aux. (diff)
downloadxz-c563a4bc554a96bd0b6aab3c139715b7ec8f6ca3.tar.xz
liblzma: Clarify a comment about LZMA_STR_NO_VALIDATION.
The flag description for LZMA_STR_NO_VALIDATION was previously confusing about the treatment for filters than cannot be used with .xz format (lzma1) without using LZMA_STR_ALL_FILTERS. Now, it is clear that LZMA_STR_NO_VALIDATION is not a super set of LZMA_STR_ALL_FILTERS.
Diffstat (limited to '')
-rw-r--r--src/liblzma/api/lzma/filter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/liblzma/api/lzma/filter.h b/src/liblzma/api/lzma/filter.h
index d5054c24..584ea463 100644
--- a/src/liblzma/api/lzma/filter.h
+++ b/src/liblzma/api/lzma/filter.h
@@ -475,8 +475,9 @@ extern LZMA_API(lzma_ret) lzma_filter_flags_decode(
*
* By default lzma_str_to_filters() can return an error if the filter chain
* as a whole isn't usable in the .xz format or in the raw encoder or decoder.
- * With this flag the validation is skipped (this doesn't affect the handling
- * of the individual filter options).
+ * With this flag, this validation is skipped. This flag doesn't affect the
+ * handling of the individual filter options. To allow non-.xz filters also
+ * LZMA_STR_ALL_FILTERS is needed.
*/
#define LZMA_STR_NO_VALIDATION UINT32_C(0x02)