Correct the detection of mismatched repcodes

This commit is contained in:
Sen Huang
2021-04-09 09:08:51 -07:00
parent f71aabb5b5
commit 550f76f131
2 changed files with 26 additions and 13 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ typedef enum {
* Private declarations
*********************************************/
typedef struct seqDef_s {
U32 offset; /* Offset code of the sequence */
U32 offset; /* offset == rawOffset + ZSTD_REP_NUM, or equivalently, offCode + 1 */
U16 litLength;
U16 matchLength;
} seqDef;