aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/indeo5.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-18 21:04:12 -0500
committerPaul Gilbert2016-11-18 21:04:12 -0500
commit4888433c46a8e36c84dbc1b4ace7aeee83d12f2d (patch)
tree8e07e40036b6ae1ac0c5df321adcf34a1fc4da4a /image/codecs/indeo5.cpp
parent91d61b2cdbb95ee67bdb3d07da198be9575b561b (diff)
downloadscummvm-rg350-4888433c46a8e36c84dbc1b4ace7aeee83d12f2d.tar.gz
scummvm-rg350-4888433c46a8e36c84dbc1b4ace7aeee83d12f2d.tar.bz2
scummvm-rg350-4888433c46a8e36c84dbc1b4ace7aeee83d12f2d.zip
IMAGE: Fix some confusion of bytes vs bits in Indeo decoders
Diffstat (limited to 'image/codecs/indeo5.cpp')
-rw-r--r--image/codecs/indeo5.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/codecs/indeo5.cpp b/image/codecs/indeo5.cpp
index c2a4656cea..f4a78574d3 100644
--- a/image/codecs/indeo5.cpp
+++ b/image/codecs/indeo5.cpp
@@ -48,8 +48,8 @@ enum {
#define IVI5_PIC_SIZE_ESC 15
-Indeo5Decoder::Indeo5Decoder(uint16 width, uint16 height, uint bytesPerPixel) :
- IndeoDecoderBase(width, height, bytesPerPixel) {
+Indeo5Decoder::Indeo5Decoder(uint16 width, uint16 height, uint bitsPerPixel) :
+ IndeoDecoderBase(width, height, bitsPerPixel) {
_ctx._isIndeo4 = false;
_ctx._refBuf = 1;
_ctx._bRefBuf = 3;