Revert unnecessary seqCollector adjustment
This commit is contained in:
parent
e8501e00b8
commit
e6178f837f
@ -2562,7 +2562,6 @@ size_t ZSTD_getSequences(ZSTD_CCtx* zc, ZSTD_Sequence* outSeqs,
|
||||
seqCollector.seqStart = outSeqs;
|
||||
seqCollector.seqIndex = 0;
|
||||
seqCollector.maxSequences = outSeqsSize;
|
||||
seqCollector.format = format;
|
||||
zc->seqCollector = seqCollector;
|
||||
|
||||
ZSTD_compress2(zc, dst, dstCapacity, src, srcSize);
|
||||
@ -2586,7 +2585,7 @@ size_t ZSTD_getSequences(ZSTD_CCtx* zc, ZSTD_Sequence* outSeqs,
|
||||
}
|
||||
zc->seqCollector.seqIndex = totalSeqs;
|
||||
}
|
||||
|
||||
|
||||
return zc->seqCollector.seqIndex;
|
||||
}
|
||||
|
||||
|
@ -206,7 +206,6 @@ typedef struct {
|
||||
ZSTD_Sequence* seqStart;
|
||||
size_t seqIndex;
|
||||
size_t maxSequences;
|
||||
ZSTD_sequenceFormat_e format;
|
||||
} SeqCollector;
|
||||
|
||||
struct ZSTD_CCtx_params_s {
|
||||
|
Loading…
Reference in New Issue
Block a user