aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video
diff options
context:
space:
mode:
authorD G Turner2019-11-14 23:28:07 +0000
committerD G Turner2019-11-14 23:28:07 +0000
commitd7a22f72a1eed84441ffaf1204b5b46a6f41a58b (patch)
tree958e00a757f26de21cbacd4e0cb98bcb750c0e0d /engines/wintermute/video
parentc7a5b152184af66d50c533319f2a3795ba7a46a7 (diff)
downloadscummvm-rg350-d7a22f72a1eed84441ffaf1204b5b46a6f41a58b.tar.gz
scummvm-rg350-d7a22f72a1eed84441ffaf1204b5b46a6f41a58b.tar.bz2
scummvm-rg350-d7a22f72a1eed84441ffaf1204b5b46a6f41a58b.zip
WINTERMUTE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/wintermute/video')
-rw-r--r--engines/wintermute/video/video_theora_player.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/wintermute/video/video_theora_player.cpp b/engines/wintermute/video/video_theora_player.cpp
index 22c235c848..c1c42638f9 100644
--- a/engines/wintermute/video/video_theora_player.cpp
+++ b/engines/wintermute/video/video_theora_player.cpp
@@ -255,6 +255,9 @@ bool VideoTheoraPlayer::play(TVideoPlayback type, int x, int y, bool freezeGame,
_posX = (int)((_gameRef->_renderer->getWidth() - width) / 2);
_posY = (int)((_gameRef->_renderer->getHeight() - height) / 2);
break;
+
+ default:
+ break;
}
_theoraDecoder->start();