std/xz: decode concatenated streams

This commit is contained in:
Nigel Tao committed 2024-02-26 23:02:40 +11:00
1 parent 5b62289c63
commit 22b4ff4842
7 files changed
+141 -13

No files matched your search

+3
View File
@@ -221,6 +221,9 @@ initialize_io_transformer(uint8_t input_first_byte) {
WUFFS_VERSION, WUFFS_INITIALIZE__DEFAULT_OPTIONS);
io_transformer = wuffs_xz__decoder__upcast_as__wuffs_base__io_transformer(
&g_potential_decoders.xz);
wuffs_base__io_transformer__set_quirk(
io_transformer,
WUFFS_XZ__QUIRK_DECODE_STANDALONE_CONCATENATED_STREAMS, 1);
break;
}