aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-25 21:21:55 +0200
committerEinar Johan Trøan Sømåen2012-07-25 21:21:55 +0200
commit1ad859a468415cc7fd93adaa84beba02aae29ad8 (patch)
treed3b9cf40682b1bc4e29beca6a105cac85d1b30b2 /engines/wintermute/video
parentfa96c9ea187cdb26e9f1ce048c9132f723e25df1 (diff)
downloadscummvm-rg350-1ad859a468415cc7fd93adaa84beba02aae29ad8.tar.gz
scummvm-rg350-1ad859a468415cc7fd93adaa84beba02aae29ad8.tar.bz2
scummvm-rg350-1ad859a468415cc7fd93adaa84beba02aae29ad8.zip
WINTERMUTE: "if(" -> "if ("
Diffstat (limited to 'engines/wintermute/video')
-rw-r--r--engines/wintermute/video/video_player.cpp4
-rw-r--r--engines/wintermute/video/video_theora_player.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/video/video_player.cpp b/engines/wintermute/video/video_player.cpp
index ac16104268..464cbec7ff 100644
--- a/engines/wintermute/video/video_player.cpp
+++ b/engines/wintermute/video/video_player.cpp
@@ -217,11 +217,11 @@ bool VideoPlayer::update() {
DWORD CurrentTime; // current playing time (in ms)
/*
- if(m_SoundAvailable && m_Sound){
+ if (m_SoundAvailable && m_Sound){
CurrentTime = m_Sound->GetPosition(); // in samples
CurrentTime /= (m_Sound->m_Format.wf.nSamplesPerSec / 1000);
- if(!m_Sound->IsPlaying()) CurrentTime = m_TotalVideoTime;
+ if (!m_Sound->IsPlaying()) CurrentTime = m_TotalVideoTime;
}
else
CurrentTime = timeGetTime() - m_StartTime;
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp
index 97fba01201..91703e40b7 100644
--- a/engines/wintermute/video/video_theora_player.cpp
+++ b/engines/wintermute/video/video_theora_player.cpp
@@ -547,7 +547,7 @@ bool VideoTheoraPlayer::update() {
// If playback has begun, top audio buffer off immediately.
- //if(m_Sound) WriteAudio();
+ //if (m_Sound) WriteAudio();
// are we at or past time for this video frame?
if (m_PlaybackStarted && m_VideoFrameReady && (!m_FrameRendered || m_VideobufTime <= GetMovieTime())) {