mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-23 16:50:18 +01:00
argh once again: decode the right part of the loaded block.
This commit is contained in:
parent
8f0935a245
commit
eac426e2f4
@ -94,7 +94,7 @@ type posBuf struct {
|
|||||||
|
|
||||||
func decode29(data []byte, colors *Colors) (*DecodedBlock, error) {
|
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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user