aboutsummaryrefslogtreecommitdiff
path: root/common/huffman.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/huffman.h')
-rw-r--r--common/huffman.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/huffman.h b/common/huffman.h
index 7d0bdcabf4..9a8b712c23 100644
--- a/common/huffman.h
+++ b/common/huffman.h
@@ -43,7 +43,7 @@ class Huffman {
public:
/** Construct a Huffman decoder.
*
- * @param maxLength Maximal code length.
+ * @param maxLength Maximal code length. If 0, it's searched for.
* @param codeCount Number of codes.
* @param codes The actual codes.
* @param lengths Lengths of the individual codes.
@@ -56,7 +56,7 @@ public:
void setSymbols(const uint32 *symbols = 0);
/** Return the next symbol in the bitstream. */
- uint32 getSymbol(BitStream &bits);
+ uint32 getSymbol(BitStream &bits) const;
private:
struct Symbol {