aboutsummaryrefslogtreecommitdiff
path: root/src/huffman/huff.h
diff options
context:
space:
mode:
authorZezula Ladislav <ladislav.zezula@avast.com>2017-08-17 09:21:25 +0200
committerZezula Ladislav <ladislav.zezula@avast.com>2017-08-17 09:21:25 +0200
commit2576998c8841c2d72d7d3fd9cb4f99aa1fbc2cd1 (patch)
treee5080fdf97f36f956d811e901ca9ad4747106192 /src/huffman/huff.h
parent76976e56a20f1d1329786e59d912108129962c65 (diff)
+ Fixed bug in processing Huffmann compression
Diffstat (limited to 'src/huffman/huff.h')
-rw-r--r--src/huffman/huff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/huffman/huff.h b/src/huffman/huff.h
index 2bd5abc..89993fd 100644
--- a/src/huffman/huff.h
+++ b/src/huffman/huff.h
@@ -115,7 +115,7 @@ class THuffmannTree
THTreeItem * CreateNewItem(unsigned int DecompressedValue, unsigned int Weight, TInsertPoint InsertPoint);
unsigned int FixupItemPosByWeight(THTreeItem * pItem, unsigned int MaxWeight);
- void BuildTree(unsigned int CompressionType);
+ bool BuildTree(unsigned int CompressionType);
void IncWeightsAndRebalance(THTreeItem * pItem);
void InsertNewBranchAndRebalance(unsigned int Value1, unsigned int Value2);