1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-05 15:09:03 +02:00

ZSTD_compress_usingCDict() correctly provides original size by default in frame header

Fixed dictionary examples
This commit is contained in:
Yann Collet
2016-08-03 01:57:57 +02:00
parent 6a21971f4a
commit 0763905f44
4 changed files with 20 additions and 22 deletions

View File

@ -56,4 +56,8 @@ test: all
./simple_compression tmp
@echo starting simple_decompression
./simple_decompression tmp.zst
@echo dictionary compression
./dictionary_compression tmp README.md
@echo dictionary decompression
./dictionary_decompression tmp.zst README.md
@echo tests completed

View File

@ -165,4 +165,5 @@ int main(int argc, const char** argv)
ZSTD_freeCDict(dictPtr);
printf("All %u files compressed. \n", argc-2);
return 0;
}

View File

@ -135,4 +135,5 @@ int main(int argc, const char** argv)
ZSTD_freeDDict(dictPtr);
printf("All %u files correctly decoded (in memory) \n", argc-2);
return 0;
}