Commit dc29e2ef authored by Hal Finkel's avatar Hal Finkel
Browse files

fix mod to SZ utility.c

parent 1f799c26
...@@ -161,7 +161,7 @@ int is_lossless_compressed_data(unsigned char* compressedBytes, size_t cmpSize) ...@@ -161,7 +161,7 @@ int is_lossless_compressed_data(unsigned char* compressedBytes, size_t cmpSize)
return ZSTD_COMPRESSOR; return ZSTD_COMPRESSOR;
#else #else
int frameContentSize = ZSTD_getDecompressedSize(compressedBytes, cmpSize); int frameContentSize = ZSTD_getDecompressedSize(compressedBytes, cmpSize);
if(frameContentSize == 0) if(frameContentSize != 0)
return ZSTD_COMPRESSOR; return ZSTD_COMPRESSOR;
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment