decoding support for legacy v0.2 format

This commit is contained in:
Yann Collet
2015-10-30 11:21:50 +01:00
parent fc04bcc6d7
commit aa074051d6
19 changed files with 4317 additions and 102 deletions
+1 -1
View File
@@ -988,7 +988,7 @@ static size_t HUF_readDTable (U16* DTable, const void* src, size_t srcSize)
{
static int l[14] = { 1, 2, 3, 4, 7, 8, 15, 16, 31, 32, 63, 64, 127, 128 };
oSize = l[iSize-242];
memset(huffWeight, 1, oSize);
memset(huffWeight, 1, sizeof(huffWeight));
iSize = 0;
}
else /* Incompressible */