diff options
author | Colin Snover | 2017-01-08 23:12:05 -0600 |
---|---|---|
committer | Colin Snover | 2017-01-11 10:59:55 -0600 |
commit | 7b90f0693ab04dd2d03c097a4a49858f3685a75f (patch) | |
tree | c334b8839d2004cc5982dcf84b9d20411b00b46b /image/codecs/indeo3.h | |
parent | 68de00b36727424c2ea6c1a2d078288659492ab3 (diff) | |
download | scummvm-rg350-7b90f0693ab04dd2d03c097a4a49858f3685a75f.tar.gz scummvm-rg350-7b90f0693ab04dd2d03c097a4a49858f3685a75f.tar.bz2 scummvm-rg350-7b90f0693ab04dd2d03c097a4a49858f3685a75f.zip |
IMAGE: Return correct pixel format for Indeo3
This gives Indeo3 the same behavior as other codecs when
encapsulated in a container that provides bit depth information
(e.g. AVI).
Closes #888.
Diffstat (limited to 'image/codecs/indeo3.h')
-rw-r--r-- | image/codecs/indeo3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/image/codecs/indeo3.h b/image/codecs/indeo3.h index 0ff0265250..ad12bb7825 100644 --- a/image/codecs/indeo3.h +++ b/image/codecs/indeo3.h @@ -46,7 +46,7 @@ namespace Image { */ class Indeo3Decoder : public Codec { public: - Indeo3Decoder(uint16 width, uint16 height); + Indeo3Decoder(uint16 width, uint16 height, uint bitsPerPixel = 24); ~Indeo3Decoder(); const Graphics::Surface *decodeFrame(Common::SeekableReadStream &stream); |