aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/indeo4.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/indeo4.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/indeo4.cpp')
-rw-r--r--image/codecs/indeo4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/codecs/indeo4.cpp b/image/codecs/indeo4.cpp
index 62b5cae271..6141bf0fc8 100644
--- a/image/codecs/indeo4.cpp
+++ b/image/codecs/indeo4.cpp
@@ -37,8 +37,8 @@ namespace Image {
#define IVI4_PIC_SIZE_ESC 7
-Indeo4Decoder::Indeo4Decoder(uint16 width, uint16 height, uint bytesPerPixel) :
- IndeoDecoderBase(width, height, bytesPerPixel) {
+Indeo4Decoder::Indeo4Decoder(uint16 width, uint16 height, uint bitsPerPixel) :
+ IndeoDecoderBase(width, height, bitsPerPixel) {
_ctx._isIndeo4 = true;
_ctx._refBuf = 1;
_ctx._bRefBuf = 3;