From fa0ec06e36eaac0a076e8c04770973da8879bc08 Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Sat, 6 Jan 2024 02:27:45 +0100 Subject: [PATCH] Fix zstd decoding --- common/block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/block.go b/common/block.go index 5e699ee..fce6b99 100644 --- a/common/block.go +++ b/common/block.go @@ -160,7 +160,7 @@ func decode29(data []byte, colors *Colors) (*DecodedBlock, error) { return nil, err } - content, err := dec.DecodeAll(data, nil) + content, err := dec.DecodeAll(data[1:], nil) if err != nil { return nil, err }