From 9757cc811bc575e9cbd9d2d469cb054d0a92e2ed Mon Sep 17 00:00:00 2001 From: Sean Purcell Date: Wed, 22 Feb 2017 12:27:15 -0800 Subject: [PATCH] Update comment --- lib/decompress/zstd_decompress.c | 2 +- lib/zstd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/decompress/zstd_decompress.c b/lib/decompress/zstd_decompress.c index 362da1a76..e38ef79ba 100644 --- a/lib/decompress/zstd_decompress.c +++ b/lib/decompress/zstd_decompress.c @@ -1439,7 +1439,7 @@ size_t ZSTD_generateNxBytes(void* dst, size_t dstCapacity, BYTE byte, size_t len /** ZSTD_findFrameCompressedSize() : * compatible with legacy mode - * `src` must point to the start of a ZSTD or ZSTD legacy frame + * `src` must point to the start of a ZSTD frame, ZSTD legacy frame, or skippable frame * `srcSize` must be at least as large as the frame contained * @return : the compressed size of the frame starting at `src` */ size_t ZSTD_findFrameCompressedSize(const void *src, size_t srcSize) diff --git a/lib/zstd.h b/lib/zstd.h index 9820b5379..49050607e 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -401,7 +401,7 @@ typedef struct { ZSTD_allocFunction customAlloc; ZSTD_freeFunction customFree; v ***************************************/ /*! ZSTD_findFrameCompressedSize() : - * `src` should point to the start of a ZSTD encoded frame + * `src` should point to the start of a ZSTD encoded frame or skippable frame * `srcSize` must be at least as large as the frame * @return : the compressed size of the frame pointed to by `src`, suitable to pass to * `ZSTD_decompress` or similar, or an error code if given invalid input. */