1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-17 12:37:51 +02:00

dictBuilder fails to create dictionary on certain input

Properly expressed with an error code (see zstd_errors.h)
and a cli return code != 0
This commit is contained in:
Yann Collet
2017-03-23 16:24:02 -07:00
parent 5caaa15968
commit f332ece468
5 changed files with 14 additions and 5 deletions

View File

@ -57,6 +57,7 @@ typedef enum {
ZSTD_error_maxSymbolValue_tooSmall,
ZSTD_error_dictionary_corrupted,
ZSTD_error_dictionary_wrong,
ZSTD_error_dictionaryCreation_failed,
ZSTD_error_maxCode
} ZSTD_ErrorCode;