summaryrefslogtreecommitdiff
path: root/thirdparty/zstd/common/error_private.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-09-18 22:02:35 +0200
committerGitHub <noreply@github.com>2020-09-18 22:02:35 +0200
commit7fff7b863cb27c414c7467fc6540cb435bd5a411 (patch)
tree0fa9ec5fe6e822cdd02a89b1b1476c32c5376b22 /thirdparty/zstd/common/error_private.c
parenta332e2f5b2d4acfda639701d719ff415d73c5d0b (diff)
parent914591c9ae2676f7c39bfd65277471cd02f3a85f (diff)
Merge pull request #42174 from akien-mga/zstd-1.4.5
zstd: Update to upstream version 1.4.5
Diffstat (limited to 'thirdparty/zstd/common/error_private.c')
-rw-r--r--thirdparty/zstd/common/error_private.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/thirdparty/zstd/common/error_private.c b/thirdparty/zstd/common/error_private.c
index 7c1bb67a23..cd437529c1 100644
--- a/thirdparty/zstd/common/error_private.c
+++ b/thirdparty/zstd/common/error_private.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-present, Yann Collet, Facebook, Inc.
+ * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under both the BSD-style license (found in the
@@ -47,6 +47,7 @@ const char* ERR_getErrorString(ERR_enum code)
/* following error codes are not stable and may be removed or changed in a future version */
case PREFIX(frameIndex_tooLarge): return "Frame index is too large";
case PREFIX(seekableIO): return "An I/O error occurred when reading/seeking";
+ case PREFIX(dstBuffer_wrong): return "Destination buffer is wrong";
case PREFIX(maxCode):
default: return notErrorCode;
}