From 562a643481d00e81ef8bed8051b3340b5085b6ae Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Tue, 16 Nov 2021 22:07:13 +1100 Subject: [PATCH] As pointed out by Peter Hyman Examining the output of max verbose lrzip -vvi revealed that the offset shown for stream 1 is incorrect. It uses the same offset as stream 0. This occurs for all chunks. --- lrzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lrzip.c b/lrzip.c index f938a1b..0133c90 100644 --- a/lrzip.c +++ b/lrzip.c @@ -1054,7 +1054,7 @@ next_chunk: return false; print_verbose("Stream: %d\n", stream); - print_maxverbose("Offset: %lld\n", ofs); + print_maxverbose("Offset: %lld\n", stream_head[stream] + ofs); print_verbose("Block\tComp\tPercent\tSize\n"); do { i64 head_off;