From adc1b93f7cc314461a74b542eeae85899b25420e Mon Sep 17 00:00:00 2001 From: anjor Date: Mon, 16 Dec 2024 23:42:27 +0000 Subject: [PATCH] fix header size --- cmd-car-split.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd-car-split.go b/cmd-car-split.go index 3707149f..7d3e9909 100644 --- a/cmd-car-split.go +++ b/cmd-car-split.go @@ -219,7 +219,7 @@ func newCmd_SplitCar() *cli.Command { } // Set the currentFileSize to the size of the header - currentFileSize = uint64(len(nulRootCarHeader)) + currentFileSize = hdrSize currentSubsetInfo = subsetInfo{fileName: filename, firstSlot: -1, lastSlot: -1} return nil }