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 /video | |
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 'video')
-rw-r--r-- | video/coktel_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/coktel_decoder.cpp b/video/coktel_decoder.cpp index 4e05499065..4c9ef67702 100644 --- a/video/coktel_decoder.cpp +++ b/video/coktel_decoder.cpp @@ -1691,7 +1691,7 @@ bool VMDDecoder::openExternalCodec() { if (_videoCodec == kVideoCodecIndeo3) { _isPaletted = false; - _codec = new Image::Indeo3Decoder(_width, _height); + _codec = new Image::Indeo3Decoder(_width, _height, g_system->getScreenFormat().bpp()); } else { warning("VMDDecoder::openExternalCodec(): Unknown video codec FourCC \"%s\"", |