diff options
| author | Matthew Hoops | 2012-08-16 14:00:14 -0400 | 
|---|---|---|
| committer | Matthew Hoops | 2012-08-16 14:00:14 -0400 | 
| commit | 18823198ad4e7dedd0ca33760eb453e9fe673551 (patch) | |
| tree | 6a4ef578a74c5ffd616101f686a2f3b7248406d4 /engines/sword2/animation.cpp | |
| parent | 7569ec7dc00e95e0643cde7f413a7cf46a4770f0 (diff) | |
| download | scummvm-rg350-18823198ad4e7dedd0ca33760eb453e9fe673551.tar.gz scummvm-rg350-18823198ad4e7dedd0ca33760eb453e9fe673551.tar.bz2 scummvm-rg350-18823198ad4e7dedd0ca33760eb453e9fe673551.zip  | |
VIDEO: Merge AdvancedVideoDecoder into VideoDecoder
Diffstat (limited to 'engines/sword2/animation.cpp')
| -rw-r--r-- | engines/sword2/animation.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp index 24b52cd85a..00260f789a 100644 --- a/engines/sword2/animation.cpp +++ b/engines/sword2/animation.cpp @@ -95,7 +95,7 @@ bool MoviePlayer::load(const char *name) {  		// Need to load here in case it fails in which case we'd need  		// to go back to paletted mode  		if (_decoder->loadFile(filename)) { -			((Video::AdvancedVideoDecoder *)_decoder)->start(); // TODO: Remove after new API is complete +			_decoder->start();  			return true;  		} else {  			initGraphics(640, 480, true); @@ -108,9 +108,9 @@ bool MoviePlayer::load(const char *name) {  	// For DXA, also add the external sound file  	if (_decoderType == kVideoDecoderDXA) -		((Video::AdvancedVideoDecoder *)_decoder)->addStreamFileTrack(name); +		_decoder->addStreamFileTrack(name); -	((Video::AdvancedVideoDecoder *)_decoder)->start(); // TODO: Remove after new API is complete +	_decoder->start();  	return true;  }  | 
