mirror of
https://github.com/facebook/zstd.git
synced 2025-12-07 00:02:39 -05:00
added missing "case 3:" in ZSTD_BtGetAllMatches
This commit is contained in:
parent
01060bc477
commit
89c9e1a847
@ -105,7 +105,7 @@ static const size_t ZSTD_frameHeaderSize_min = 5;
|
||||
#define OffFSELog 9
|
||||
#define MaxSeq MAX(MaxLL, MaxML)
|
||||
|
||||
#define LONGNBSEQ 0xFF00
|
||||
#define LONGNBSEQ 0x7F00
|
||||
|
||||
#define FSE_ENCODING_RAW 0
|
||||
#define FSE_ENCODING_RLE 1
|
||||
|
||||
@ -342,6 +342,7 @@ static U32 ZSTD_BtGetAllMatches_selectMLS (
|
||||
switch(matchLengthSearch)
|
||||
{
|
||||
default :
|
||||
case 3 : return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 3, matches);
|
||||
case 4 : return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 4, matches);
|
||||
case 5 : return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 5, matches);
|
||||
case 6 : return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 6, matches);
|
||||
@ -369,6 +370,7 @@ static U32 ZSTD_BtGetAllMatches_selectMLS_extDict (
|
||||
switch(matchLengthSearch)
|
||||
{
|
||||
default :
|
||||
case 3 : return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 3, matches);
|
||||
case 4 : return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 4, matches);
|
||||
case 5 : return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 5, matches);
|
||||
case 6 : return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 6, matches);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user