From 91d61b2cdbb95ee67bdb3d07da198be9575b561b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 18 Nov 2016 20:58:39 -0500 Subject: [PATCH] IMAGE: Respect bit depth in Indeo 5 decoder --- image/codecs/codec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/codecs/codec.cpp b/image/codecs/codec.cpp index d631a052bbc..7d6d3cbe9b5 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'):