Remove duplicate and incorrect docs in zstd_decompress.c (#3967)

This commit is contained in:
Elliot Gorokhovsky
2024-03-14 15:55:01 -04:00
committed by GitHub
parent a0a9bc6c95
commit 559762da12
+2 -4
View File
@@ -797,10 +797,8 @@ static ZSTD_frameSizeInfo ZSTD_findFrameSizeInfo(const void* src, size_t srcSize
} }
/** ZSTD_findFrameCompressedSize() : /** ZSTD_findFrameCompressedSize() :
* compatible with legacy mode * See docs in zstd.h
* `src` must point to the start of a ZSTD frame, ZSTD legacy frame, or skippable frame * Note: compatible with legacy mode */
* `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) size_t ZSTD_findFrameCompressedSize(const void *src, size_t srcSize)
{ {
ZSTD_frameSizeInfo const frameSizeInfo = ZSTD_findFrameSizeInfo(src, srcSize); ZSTD_frameSizeInfo const frameSizeInfo = ZSTD_findFrameSizeInfo(src, srcSize);