]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fix typo in ZSTD_compressBound docs 4202/head
authornhz2 <nhz2@cornell.edu>
Mon, 25 Nov 2024 00:05:15 +0000 (19:05 -0500)
committernhz2 <nhz2@cornell.edu>
Mon, 25 Nov 2024 00:05:15 +0000 (19:05 -0500)
lib/zstd.h

index d2d6795e48d7d15d01e177d5c8ca6e4e3402d05b..a78b6db45c63a29f290e3027011440a95244168b 100644 (file)
@@ -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().
  *