From: Sean Purcell Date: Wed, 22 Feb 2017 20:27:15 +0000 (-0800) Subject: Update comment X-Git-Tag: v1.1.4~1^2~48^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9757cc811bc575e9cbd9d2d469cb054d0a92e2ed;p=thirdparty%2Fzstd.git Update comment --- 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. */