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 f703d078dc..b4de5ab483 100644
--- a/common/huffman.h
+++ b/common/huffman.h
@@ -47,11 +47,11 @@ public:
* @param lengths Lengths of the individual codes.
* @param symbols The symbols. If 0, assume they are identical to the code indices.
*/
- Huffman(uint8 maxLength, uint32 codeCount, const uint32 *codes, const uint8 *lengths, const uint32 *symbols = 0);
+ Huffman(uint8 maxLength, uint32 codeCount, const uint32 *codes, const uint8 *lengths, const uint32 *symbols = nullptr);
~Huffman();
/** Modify the codes' symbols. */
- void setSymbols(const uint32 *symbols = 0);
+ void setSymbols(const uint32 *symbols = nullptr);
/** Return the next symbol in the bitstream. */
template<class BITSTREAM>