From 034086e1ae1459210837a24e04878435c86dc41b Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 8 Oct 2022 00:29:20 +0300 Subject: liblzma: Add .lz support to lzma_auto_decoder(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Michał Górny for the original patch. --- src/liblzma/api/lzma/container.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/liblzma/api') diff --git a/src/liblzma/api/lzma/container.h b/src/liblzma/api/lzma/container.h index 6a2f4d78..6e432a1f 100644 --- a/src/liblzma/api/lzma/container.h +++ b/src/liblzma/api/lzma/container.h @@ -700,11 +700,13 @@ extern LZMA_API(lzma_ret) lzma_stream_decoder_mt( /** - * \brief Decode .xz Streams and .lzma files with autodetection + * \brief Decode .xz, .lzma, and .lz (lzip) files with autodetection * - * This decoder autodetects between the .xz and .lzma file formats, and - * calls lzma_stream_decoder() or lzma_alone_decoder() once the type - * of the input file has been detected. + * This decoder autodetects between the .xz, .lzma, and .lz file formats, + * and calls lzma_stream_decoder(), lzma_alone_decoder(), or + * lzma_lzip_decoder() once the type of the input file has been detected. + * + * Support for .lz was added in 5.4.0. * * If the flag LZMA_CONCATENATED is used and the input is a .lzma file: * For historical reasons concatenated .lzma files aren't supported. -- cgit v1.2.3