1
0
mirror of https://github.com/facebook/zstd.git synced 2025-09-16 09:36:32 +02:00

Provide more accurate error codes for busy-loop scenarios

fixes #3454
This commit is contained in:
Yann Collet
2023-01-25 13:07:53 -08:00
parent f3255bfeff
commit db18a62f89
3 changed files with 7 additions and 3 deletions

View File

@@ -88,6 +88,8 @@ typedef enum {
ZSTD_error_dstSize_tooSmall = 70,
ZSTD_error_srcSize_wrong = 72,
ZSTD_error_dstBuffer_null = 74,
ZSTD_error_noForwardProgress_destFull = 80,
ZSTD_error_noForwardProgress_inputEmpty = 82,
/* following error codes are __NOT STABLE__, they can be removed or changed in future versions */
ZSTD_error_frameIndex_tooLarge = 100,
ZSTD_error_seekableIO = 102,