]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Update comment
authorSean Purcell <me@seanp.xyz>
Wed, 22 Feb 2017 20:27:15 +0000 (12:27 -0800)
committerSean Purcell <me@seanp.xyz>
Wed, 22 Feb 2017 20:28:21 +0000 (12:28 -0800)
lib/decompress/zstd_decompress.c
lib/zstd.h

index 362da1a76608c973e26c3ca63c6e48c949d5072b..e38ef79baf4b9cf076563857fae1544b0167d869 100644 (file)
@@ -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)
index 9820b5379f37cc11dd6e46b31360acd8ebf1183a..49050607e4c3870f66b0f4fa701aa51822d8d528 100644 (file)
@@ -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. */