Fixed decompression of literals in dictionary mode

This commit is contained in:
Yann Collet
2016-06-15 23:11:20 +02:00
parent 531a4273c0
commit 9b998e4d08
2 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -625,7 +625,7 @@ size_t HUF_decompress1X4_usingDTable(
const HUF_DTable* DTable)
{
DTableDesc dtd = HUF_getDTableDesc(DTable);
if (dtd.tableType != 0) return ERROR(GENERIC);
if (dtd.tableType != 1) return ERROR(GENERIC);
return HUF_decompress1X4_usingDTable_internal(dst, dstSize, cSrc, cSrcSize, DTable);
}