From 7b90f0693ab04dd2d03c097a4a49858f3685a75f Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 8 Jan 2017 23:12:05 -0600 Subject: 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. --- video/coktel_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') 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\"", -- cgit v1.2.3