aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorMatthew Hoops2012-08-16 14:00:14 -0400
committerMatthew Hoops2012-08-16 14:00:14 -0400
commit18823198ad4e7dedd0ca33760eb453e9fe673551 (patch)
tree6a4ef578a74c5ffd616101f686a2f3b7248406d4 /engines/scumm
parent7569ec7dc00e95e0643cde7f413a7cf46a4770f0 (diff)
downloadscummvm-rg350-18823198ad4e7dedd0ca33760eb453e9fe673551.tar.gz
scummvm-rg350-18823198ad4e7dedd0ca33760eb453e9fe673551.tar.bz2
scummvm-rg350-18823198ad4e7dedd0ca33760eb453e9fe673551.zip
VIDEO: Merge AdvancedVideoDecoder into VideoDecoder
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/animation_he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp
index 8329511c14..be17a3b305 100644
--- a/engines/scumm/he/animation_he.cpp
+++ b/engines/scumm/he/animation_he.cpp
@@ -62,14 +62,14 @@ int MoviePlayer::load(const char *filename, int flags, int image) {
_video->close();
// Ensure that Bink will use our PixelFormat
- ((Video::AdvancedVideoDecoder *)_video)->setDefaultHighColorFormat(g_system->getScreenFormat());
+ _video->setDefaultHighColorFormat(g_system->getScreenFormat());
if (!_video->loadFile(filename)) {
warning("Failed to load video file %s", filename);
return -1;
}
- ((Video::AdvancedVideoDecoder *)_video)->start();
+ _video->start();
debug(1, "Playing video %s", filename);