diff options
Diffstat (limited to 'video/codecs')
-rw-r--r-- | video/codecs/indeo3.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/codecs/indeo3.cpp b/video/codecs/indeo3.cpp index 6fbefba9e3..28e1a9c620 100644 --- a/video/codecs/indeo3.cpp +++ b/video/codecs/indeo3.cpp @@ -288,14 +288,14 @@ const Graphics::Surface *Indeo3Decoder::decodeImage(Common::SeekableReadStream * if (scaleWidth == 1 && scaleHeight == 1) { // Shortcut: Don't need to scale so we can decode straight to the surface - YUVToRGBMan.convert410(_surface, Graphics::YUVToRGBManager::kScaleFull, srcY, tempU, tempV, + YUVToRGBMan.convert410(_surface, Graphics::YUVToRGBManager::kScaleITU, srcY, tempU, tempV, fWidth, fHeight, fWidth, chromaWidth + 1); } else { // Need to upscale, so decode to a temp surface first Graphics::Surface tempSurface; tempSurface.create(fWidth, fHeight, _surface->format); - YUVToRGBMan.convert410(&tempSurface, Graphics::YUVToRGBManager::kScaleFull, srcY, tempU, tempV, + YUVToRGBMan.convert410(&tempSurface, Graphics::YUVToRGBManager::kScaleITU, srcY, tempU, tempV, fWidth, fHeight, fWidth, chromaWidth + 1); // Upscale |