advanced decompression function replaces by normal streaming one
advanced parameters compatible with ZSTD_decompressStream().
This commit is contained in:
1 parent
6ced8f7c7c
commit
34e146f548
7 files changed
+107
-91
No files matched your search
+1
-1
@@ -1331,7 +1331,7 @@ static int basicUnitTests(U32 seed, double compressibility)
|
||||
}
|
||||
{ ZSTD_inBuffer in = { compressedBuffer, cSize, 0 };
|
||||
ZSTD_outBuffer out = { decodedBuffer, CNBuffSize, 0 };
|
||||
size_t const result = ZSTD_decompress_generic(dctx, &out, &in);
|
||||
size_t const result = ZSTD_decompressStream(dctx, &out, &in);
|
||||
if (result != 0) goto _output_error;
|
||||
if (in.pos != in.size) goto _output_error;
|
||||
if (out.pos != inputSize) goto _output_error;
|
||||
|
||||
Reference in new issue
Block a user