aboutsummaryrefslogtreecommitdiff
path: root/video/codecs
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-17 12:54:08 -0400
committerMatthew Hoops2012-09-17 19:30:46 -0400
commit893a2b37ff651e69699879932fe70895a28951fa (patch)
treedd1ca1e116c46849bee52a24f3c08454858b4f6e /video/codecs
parent03d34f1f927cc3ac16f3f500688239f7b2f1fc8a (diff)
downloadscummvm-rg350-893a2b37ff651e69699879932fe70895a28951fa.tar.gz
scummvm-rg350-893a2b37ff651e69699879932fe70895a28951fa.tar.bz2
scummvm-rg350-893a2b37ff651e69699879932fe70895a28951fa.zip
GRAPHICS: Rework YUV->RGB code a bit
Diffstat (limited to 'video/codecs')
-rw-r--r--video/codecs/svq1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/codecs/svq1.cpp b/video/codecs/svq1.cpp
index 14452ab15b..41bd1dc507 100644
--- a/video/codecs/svq1.cpp
+++ b/video/codecs/svq1.cpp
@@ -256,7 +256,7 @@ const Graphics::Surface *SVQ1Decoder::decodeImage(Common::SeekableReadStream *st
_surface->h = _height;
}
- convertYUV410ToRGB(_surface, current[0], current[1], current[2], yWidth, yHeight, yWidth, uvWidth);
+ YUVToRGBMan.convert410(_surface, current[0], current[1], current[2], yWidth, yHeight, yWidth, uvWidth);
// Store the current surfaces for later and free the old ones
for (int i = 0; i < 3; i++) {