Skip to content

Commit

Permalink
Remove duplicate and incorrect docs in zstd_decompress.c
Browse files Browse the repository at this point in the history
  • Loading branch information
embg committed Mar 14, 2024
1 parent 4bd911a commit 28308b7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/decompress/zstd_decompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -796,11 +796,7 @@ static ZSTD_frameSizeInfo ZSTD_findFrameSizeInfo(const void* src, size_t srcSize
}
}

/** ZSTD_findFrameCompressedSize() :
* compatible with legacy mode
* `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` */
/** ZSTD_findFrameCompressedSize() : See docs in zstd.h */
size_t ZSTD_findFrameCompressedSize(const void *src, size_t srcSize)
{
ZSTD_frameSizeInfo const frameSizeInfo = ZSTD_findFrameSizeInfo(src, srcSize);
Expand Down

0 comments on commit 28308b7

Please sign in to comment.