mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
original size unknown
This commit is contained in:
@ -63,7 +63,7 @@ static void decompress(const char* fname)
|
||||
size_t cSize;
|
||||
void* const cBuff = loadFile_orDie(fname, &cSize);
|
||||
unsigned long long const rSize = ZSTD_findDecompressedSize(cBuff, cSize);
|
||||
if (rSize==0) {
|
||||
if (rSize==ZSTD_CONTENTSIZE_UNKNOWN) {
|
||||
printf("%s : original size unknown. Use streaming decompression instead. \n", fname);
|
||||
exit(5);
|
||||
}
|
||||
|
Reference in New Issue
Block a user