From a6e21fcede3b196160a52dd294d965c508a4bb33 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 29 Nov 2022 22:27:42 +0200 Subject: [PATCH] liblzma: Two fixes to lzma_str_list_filters() API docs. Thanks to Jia Tan. --- src/liblzma/api/lzma/filter.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/liblzma/api/lzma/filter.h b/src/liblzma/api/lzma/filter.h index 4f589230..cb8de5d1 100644 --- a/src/liblzma/api/lzma/filter.h +++ b/src/liblzma/api/lzma/filter.h @@ -679,8 +679,8 @@ extern LZMA_API(lzma_ret) lzma_str_from_filters( * filter name. If LZMA_STR_ENCODER or LZMA_STR_DECODER is used then the * options required for encoding or decoding are listed on the same line too. * - * If filter_id is LZMA_VLI_UNKNOWN then all filters that can be used in - * the .xz format are listed: + * If filter_id is LZMA_VLI_UNKNOWN then all supported .xz-compatible filters + * are listed: * * - If neither LZMA_STR_ENCODER nor LZMA_STR_DECODER is used then * the supported filter names are listed on a single line separated @@ -704,7 +704,7 @@ extern LZMA_API(lzma_ret) lzma_str_from_filters( * Set to NULL to use malloc() and free(). * * \return - LZMA_OK - * - LZMA_OPTIONS_ERROR: Unsupported flags + * - LZMA_OPTIONS_ERROR: Unsupported filter_id or flags * - LZMA_MEM_ERROR * - LZMA_PROG_ERROR */