aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/video/smk_decoder.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/graphics/video/smk_decoder.cpp b/graphics/video/smk_decoder.cpp
index 922bcbda99..9fa0b948f1 100644
--- a/graphics/video/smk_decoder.cpp
+++ b/graphics/video/smk_decoder.cpp
@@ -74,8 +74,7 @@ private:
};
bool BitStream::getBit() {
- if (_bitCount == 0)
- {
+ if (_bitCount == 0) {
assert(_buf < _end);
_curByte = *_buf++;
_bitCount = 8;
@@ -146,8 +145,7 @@ private:
};
SmallHuffmanTree::SmallHuffmanTree(BitStream &bs)
- : _treeSize(0), _bs(bs)
-{
+ : _treeSize(0), _bs(bs) {
uint32 bit = _bs.getBit();
assert(bit);
@@ -239,8 +237,7 @@ private:
};
BigHuffmanTree::BigHuffmanTree(BitStream &bs, int allocSize)
- : _bs(bs)
-{
+ : _bs(bs) {
uint32 bit = _bs.getBit();
if (!bit) {
_tree = new uint32[1];