aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/container.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-10-08 00:29:20 +0300
committerLasse Collin <lasse.collin@tukaani.org>2022-11-09 14:25:26 +0200
commit034086e1ae1459210837a24e04878435c86dc41b (patch)
tree550b52e3a8da37a761cd09d57b1b3eeff44ed9c9 /src/liblzma/api/lzma/container.h
parentliblzma: Add .lz (lzip) decompression support (format versions 0 and 1). (diff)
downloadxz-034086e1ae1459210837a24e04878435c86dc41b.tar.xz
liblzma: Add .lz support to lzma_auto_decoder().
Thanks to Michał Górny for the original patch.
Diffstat (limited to 'src/liblzma/api/lzma/container.h')
-rw-r--r--src/liblzma/api/lzma/container.h10
1 files changed, 6 insertions, 4 deletions
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.