add dedicated error code for special case

ZSTD_compressSequencesAndLiterals() cannot produce an uncompressed block
This commit is contained in:
Yann Collet committed 2024-12-20 10:37:00 -08:00
1 parent a80f55f47d
commit b339efff2b
4 files changed
+3 -2

No files matched your search

+1
View File
@@ -76,6 +76,7 @@ typedef enum {
ZSTD_error_tableLog_tooLarge = 44,
ZSTD_error_maxSymbolValue_tooLarge = 46,
ZSTD_error_maxSymbolValue_tooSmall = 48,
ZSTD_error_cannotProduce_uncompressedBlock = 49,
ZSTD_error_stabilityCondition_notRespected = 50,
ZSTD_error_stage_wrong = 60,
ZSTD_error_init_missing = 62,