aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/indeo/get_bits.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'image/codecs/indeo/get_bits.cpp')
-rw-r--r--image/codecs/indeo/get_bits.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/image/codecs/indeo/get_bits.cpp b/image/codecs/indeo/get_bits.cpp
index ede5fa2a8f..f808a96e76 100644
--- a/image/codecs/indeo/get_bits.cpp
+++ b/image/codecs/indeo/get_bits.cpp
@@ -27,12 +27,12 @@ namespace Indeo {
int GetBits::getVLC2(int16 (*table)[2], int bits, int maxDepth) {
int code;
- int n, nbBits;
- unsigned int index;
+ int n, nbBits;
+ unsigned int index;
index = peekBits(bits);
- code = table[index][0];
- n = table[index][1];
+ code = table[index][0];
+ n = table[index][1];
if (maxDepth > 1 && n < 0) {
skip(bits);