[Scummvm-cvs-logs] scummvm master -> c72927bb8627a56b499a0b52a19ae9ef4a384dfe

Strangerke Strangerke at scummvm.org
Sun Mar 9 19:33:10 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c72927bb86 VOYEUR: Remove useless object in RL2VideoTrack


Commit: c72927bb8627a56b499a0b52a19ae9ef4a384dfe
    https://github.com/scummvm/scummvm/commit/c72927bb8627a56b499a0b52a19ae9ef4a384dfe
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-03-09T19:31:26+01:00

Commit Message:
VOYEUR: Remove useless object in RL2VideoTrack

Changed paths:
    engines/voyeur/animation.cpp
    engines/voyeur/animation.h



diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp
index be6148c..7d6e854 100644
--- a/engines/voyeur/animation.cpp
+++ b/engines/voyeur/animation.cpp
@@ -224,8 +224,7 @@ Common::Rational RL2Decoder::RL2FileHeader::getFrameRate() const {
 /*------------------------------------------------------------------------*/
 
 RL2Decoder::RL2VideoTrack::RL2VideoTrack(const RL2FileHeader &header, RL2AudioTrack *audioTrack, 
-		Common::SeekableReadStream *stream): 
-		_header(header), _audioTrack(audioTrack), _fileStream(stream) {
+		Common::SeekableReadStream *stream): _header(header), _fileStream(stream) {
 
 	_frameOffsets = nullptr;
 
diff --git a/engines/voyeur/animation.h b/engines/voyeur/animation.h
index 273fc01..5d08b5a 100644
--- a/engines/voyeur/animation.h
+++ b/engines/voyeur/animation.h
@@ -130,7 +130,6 @@ private:
 	private:
 		Common::SeekableReadStream *_fileStream;
 		const RL2FileHeader &_header;
-		RL2AudioTrack *_audioTrack;
 		Graphics::Surface *_surface;
 		Graphics::Surface *_backSurface;
 		bool _hasBackFrame;






More information about the Scummvm-git-logs mailing list