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:
@ -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
|
||||
|
@ -165,4 +165,5 @@ int main(int argc, const char** argv)
|
||||
|
||||
ZSTD_freeCDict(dictPtr);
|
||||
printf("All %u files compressed. \n", argc-2);
|
||||
return 0;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user