pretend consuming input to provide a sense of forward progress

This commit is contained in:
Yann Collet
2022-01-26 10:31:24 -08:00
parent 4b9d1dd9ff
commit 8296be4a0a
2 changed files with 18 additions and 4 deletions
+1
View File
@@ -411,6 +411,7 @@ struct ZSTD_CCtx_s {
/* Stable in/out buffer verification */
ZSTD_inBuffer expectedInBuffer;
size_t expectedOutBufferSize;
size_t savedInPosPlusOne; /* 0 == no savedInPos */
/* Dictionary */
ZSTD_localDict localDict;