diff --git a/zstd/seqdec_amd64.go b/zstd/seqdec_amd64.go index ba0395167..5c31b164a 100644 --- a/zstd/seqdec_amd64.go +++ b/zstd/seqdec_amd64.go @@ -41,7 +41,8 @@ func sequenceDecs_decodeSync_bmi2(s *sequenceDecs, br *bitReader, ctx *decodeSyn // decode sequences from the stream with the provided history but without a dictionary. func (s *sequenceDecs) decodeSyncSimple(hist []byte) (bool, error) { - if len(s.dict) > 0 { + // XXX: history is not supported yet (waiting for another PR) + if len(s.dict) > 0 || len(hist) > 0 { return false, nil }