argh once again: decode the right part of the loaded block.

This commit is contained in:
Sascha L. Teichmann 2024-01-07 15:35:12 +01:00
parent 8f0935a245
commit eac426e2f4
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ type posBuf struct {
func decode29(data []byte, colors *Colors) (*DecodedBlock, error) {
dec, err := zstd.NewReader(bytes.NewReader(data))
dec, err := zstd.NewReader(bytes.NewReader(data[1:]))
if err != nil {
return nil, err
}