From e78149933552aefd5ba82feb55f245f550c4c1ce Mon Sep 17 00:00:00 2001 From: Anjor Kanekar Date: Tue, 17 Dec 2024 06:28:18 +0000 Subject: [PATCH] fix header size (#204) --- 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 }