diff options
author | Paul Gilbert | 2016-11-18 20:55:37 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-11-18 20:55:37 -0500 |
commit | 7f4d93ed935583fb0692f8a9cf92f51be5d4bc32 (patch) | |
tree | 2fcceb220c9425c275fd07a9420dde1f19f140e1 /image/codecs/indeo5.cpp | |
parent | 5d8b0e478ee513652703253a50d3c3746f16a0b0 (diff) | |
download | scummvm-rg350-7f4d93ed935583fb0692f8a9cf92f51be5d4bc32.tar.gz scummvm-rg350-7f4d93ed935583fb0692f8a9cf92f51be5d4bc32.tar.bz2 scummvm-rg350-7f4d93ed935583fb0692f8a9cf92f51be5d4bc32.zip |
IMAGE: Respect specified bytesPerPixel in Indeo decoders
Diffstat (limited to 'image/codecs/indeo5.cpp')
-rw-r--r-- | image/codecs/indeo5.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/image/codecs/indeo5.cpp b/image/codecs/indeo5.cpp index 7c16a3a6de..c2a4656cea 100644 --- a/image/codecs/indeo5.cpp +++ b/image/codecs/indeo5.cpp @@ -48,7 +48,8 @@ enum { #define IVI5_PIC_SIZE_ESC 15 -Indeo5Decoder::Indeo5Decoder(uint16 width, uint16 height) : IndeoDecoderBase(width, height) { +Indeo5Decoder::Indeo5Decoder(uint16 width, uint16 height, uint bytesPerPixel) : + IndeoDecoderBase(width, height, bytesPerPixel) { _ctx._isIndeo4 = false; _ctx._refBuf = 1; _ctx._bRefBuf = 3; |