fix srcSize typo and add new UTIL func to comment
This commit is contained in:
+1
-1
@@ -1136,7 +1136,7 @@ ZSTDLIB_API unsigned long long ZSTD_findDecompressedSize(const void* src, size_t
|
|||||||
* note 3 : when the decompressed size field isn't available, the upper-bound for that frame is calculated by:
|
* note 3 : when the decompressed size field isn't available, the upper-bound for that frame is calculated by:
|
||||||
* upper-bound = # blocks * min(128 KB, Window_Size)
|
* upper-bound = # blocks * min(128 KB, Window_Size)
|
||||||
*/
|
*/
|
||||||
ZSTDLIB_API unsigned long long ZSTD_decompressBound(const void* src, size_t srcSice);
|
ZSTDLIB_API unsigned long long ZSTD_decompressBound(const void* src, size_t srcSize);
|
||||||
|
|
||||||
/*! ZSTD_frameHeaderSize() :
|
/*! ZSTD_frameHeaderSize() :
|
||||||
* srcSize must be >= ZSTD_FRAMEHEADERSIZE_PREFIX.
|
* srcSize must be >= ZSTD_FRAMEHEADERSIZE_PREFIX.
|
||||||
|
|||||||
+1
-1
@@ -24,7 +24,7 @@
|
|||||||
* Includes
|
* Includes
|
||||||
***************************************/
|
***************************************/
|
||||||
#include "platform.h" /* Large Files support, SET_BINARY_MODE */
|
#include "platform.h" /* Large Files support, SET_BINARY_MODE */
|
||||||
#include "util.h" /* UTIL_getFileSize, UTIL_isRegularFile */
|
#include "util.h" /* UTIL_getFileSize, UTIL_isRegularFile, UTIL_isSameFile */
|
||||||
#include <stdio.h> /* fprintf, fopen, fread, _fileno, stdin, stdout */
|
#include <stdio.h> /* fprintf, fopen, fread, _fileno, stdin, stdout */
|
||||||
#include <stdlib.h> /* malloc, free */
|
#include <stdlib.h> /* malloc, free */
|
||||||
#include <string.h> /* strcmp, strlen */
|
#include <string.h> /* strcmp, strlen */
|
||||||
|
|||||||
Reference in New Issue
Block a user