Skip to content

Commit

Permalink
IMAGE: Respect bit depth in Indeo 5 decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Nov 19, 2016
1 parent 7f4d93e commit 91d61b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/codecs/codec.cpp
Expand Up @@ -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'):
Expand Down

0 comments on commit 91d61b2

Please sign in to comment.