Skip to content

Commit a28c508

Browse files
e3krisztianqkaiser
authored andcommitted
Fix zstd handler: do not repeat chunk offsets in output
1 parent 776b939 commit a28c508

File tree

5 files changed

+1
-1
lines changed

5 files changed

+1
-1
lines changed

unblob/handlers/compression/zstd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class ZSTDHandler(Handler):
2424

2525
PATTERNS = [HexString("28 B5 2F FD")]
2626

27-
EXTRACTOR = Command("zstd", "-d", "{inpath}", "-o", "{outdir}/{infile}")
27+
EXTRACTOR = Command("zstd", "-d", "{inpath}", "-o", "{outdir}/zstd.uncompressed")
2828

2929
def get_frame_header_size(self, frame_header_descriptor: int) -> int:
3030
single_segment = (frame_header_descriptor >> 5 & 1) & 0b1

0 commit comments

Comments
 (0)