aboutsummaryrefslogtreecommitdiff
path: root/video/theora_decoder.cpp
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/theora_decoder.cpp
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/theora_decoder.cpp')
-rw-r--r--video/theora_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/theora_decoder.cpp b/video/theora_decoder.cpp
index d7260469e6..8b579321ac 100644
--- a/video/theora_decoder.cpp
+++ b/video/theora_decoder.cpp
@@ -328,7 +328,7 @@ void TheoraDecoder::TheoraVideoTrack::translateYUVtoRGBA(th_ycbcr_buffer &YUVBuf
assert(YUVBuffer[kBufferU].height == YUVBuffer[kBufferY].height >> 1);
assert(YUVBuffer[kBufferV].height == YUVBuffer[kBufferY].height >> 1);
- Graphics::convertYUV420ToRGB(&_surface, YUVBuffer[kBufferY].data, YUVBuffer[kBufferU].data, YUVBuffer[kBufferV].data, YUVBuffer[kBufferY].width, YUVBuffer[kBufferY].height, YUVBuffer[kBufferY].stride, YUVBuffer[kBufferU].stride);
+ YUVToRGBMan.convert420(&_surface, YUVBuffer[kBufferY].data, YUVBuffer[kBufferU].data, YUVBuffer[kBufferV].data, YUVBuffer[kBufferY].width, YUVBuffer[kBufferY].height, YUVBuffer[kBufferY].stride, YUVBuffer[kBufferU].stride);
}
static vorbis_info *info = 0;