From 10beb7cb53ba328722d82c271d7b450b97869c92 Mon Sep 17 00:00:00 2001 From: nhz2 Date: Sun, 24 Nov 2024 19:05:15 -0500 Subject: [PATCH] Fix typo in ZSTD_compressBound docs --- lib/zstd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zstd.h b/lib/zstd.h index d2d6795e4..a78b6db45 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -224,7 +224,7 @@ ZSTDLIB_API size_t ZSTD_findFrameCompressedSize(const void* src, size_t srcSize) * it's recommended to provide @dstCapacity >= ZSTD_compressBound(srcSize) * as it eliminates one potential failure scenario, * aka not enough room in dst buffer to write the compressed frame. - * Note : ZSTD_compressBound() itself can fail, if @srcSize > ZSTD_MAX_INPUT_SIZE . + * Note : ZSTD_compressBound() itself can fail, if @srcSize >= ZSTD_MAX_INPUT_SIZE . * In which case, ZSTD_compressBound() will return an error code * which can be tested using ZSTD_isError(). * -- 2.47.2