Add format specification

This commit is contained in:
Sean Purcell
2017-04-11 13:53:09 -07:00
parent a3b7c22604
commit 45f3bc4801
2 changed files with 112 additions and 0 deletions
+5
View File
@@ -121,6 +121,11 @@ size_t ZSTD_seekable_loadSeekTable(ZSTD_seekable_DStream* zds, const void* src,
{ BYTE const sfd = ip[-5];
checksumFlag = sfd >> 7;
/* check reserved bits */
if ((checksumFlag >> 2) & 0x1f) {
return ERROR(corruption_detected);
}
}
numChunks = MEM_readLE32(ip-9);