aboutsummaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
authorPaul Gilbert2016-11-18 20:58:39 -0500
committerPaul Gilbert2016-11-18 20:58:39 -0500
commit91d61b2cdbb95ee67bdb3d07da198be9575b561b (patch)
tree176b554d15e437bfa370ab3d1a71ad3e5a2a766e /image
parent7f4d93ed935583fb0692f8a9cf92f51be5d4bc32 (diff)
downloadscummvm-rg350-91d61b2cdbb95ee67bdb3d07da198be9575b561b.tar.gz
scummvm-rg350-91d61b2cdbb95ee67bdb3d07da198be9575b561b.tar.bz2
scummvm-rg350-91d61b2cdbb95ee67bdb3d07da198be9575b561b.zip
IMAGE: Respect bit depth in Indeo 5 decoder
Diffstat (limited to 'image')
-rw-r--r--image/codecs/codec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/codecs/codec.cpp b/image/codecs/codec.cpp
index d631a052bb..7d6d3cbe9b 100644
--- a/image/codecs/codec.cpp
+++ b/image/codecs/codec.cpp
@@ -215,7 +215,7 @@ Codec *createBitmapCodec(uint32 tag, int width, int height, int bitsPerPixel) {
case MKTAG('I', 'V', '4', '2'):
return new Indeo4Decoder(width, height, bitsPerPixel);
case MKTAG('I', 'V', '5', '0'):
- return new Indeo5Decoder(width, height);
+ return new Indeo5Decoder(width, height, bitsPerPixel);
#ifdef IMAGE_CODECS_TRUEMOTION1_H
case MKTAG('D','U','C','K'):
case MKTAG('d','u','c','k'):