aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/video_theora_player.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2014-01-22 17:33:04 +0100
committerJohannes Schickel2014-01-22 17:33:04 +0100
commit1fa74e355cd95c0daec2c8fa0981668aa6446a8b (patch)
treefdb291f585347220313fef81d9fff4ae94e8fe8e /engines/wintermute/video/video_theora_player.cpp
parenta4fa8fe2169108f528670acb3aafd9d39cdf7e22 (diff)
downloadscummvm-rg350-1fa74e355cd95c0daec2c8fa0981668aa6446a8b.tar.gz
scummvm-rg350-1fa74e355cd95c0daec2c8fa0981668aa6446a8b.tar.bz2
scummvm-rg350-1fa74e355cd95c0daec2c8fa0981668aa6446a8b.zip
WINTERMUTE: Two minor formatting fixes.
Diffstat (limited to 'engines/wintermute/video/video_theora_player.cpp')
-rw-r--r--engines/wintermute/video/video_theora_player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp
index aedc9bf025..299b64f915 100644
--- a/engines/wintermute/video/video_theora_player.cpp
+++ b/engines/wintermute/video/video_theora_player.cpp
@@ -306,8 +306,8 @@ bool VideoTheoraPlayer::update() {
const Graphics::Surface *decodedFrame = _theoraDecoder->decodeNextFrame();
if (decodedFrame) {
if (decodedFrame->format == _surface.format && decodedFrame->w == _surface.w && decodedFrame->h == _surface.h) {
- const byte *src = (const byte*) decodedFrame->getBasePtr(0, 0);
- byte *dst = (byte*) _surface.getBasePtr(0, 0);
+ const byte *src = (const byte *)decodedFrame->getBasePtr(0, 0);
+ byte *dst = (byte *)_surface.getBasePtr(0, 0);
memcpy(dst, src, _surface.pitch * _surface.h);
} else {
_surface.free();