Decompression can decode frame content size

This commit is contained in:
Yann Collet
2016-03-12 01:25:40 +01:00
parent 0e491c01fe
commit 03ea59b17b
2 changed files with 66 additions and 38 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ ZSTDLIB_API size_t ZSTD_compressEnd(ZSTD_CCtx* cctx, void* dst, size_t dstCapaci
You can then reuse ZSTD_CCtx to compress some new frame.
*/
typedef struct { U64 frameSize; U32 windowLog; U32 mml; } ZSTD_frameParams;
typedef struct { U64 frameContentSize; U32 windowLog; U32 mml; } ZSTD_frameParams;
#define ZSTD_FRAMEHEADERSIZE_MAX 13 /* for static allocation */
static const size_t ZSTD_frameHeaderSize_min = 5;