aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorStrangerke2014-03-09 19:31:26 +0100
committerStrangerke2014-03-09 19:31:26 +0100
commitc72927bb8627a56b499a0b52a19ae9ef4a384dfe (patch)
tree731d47fc8657f8ed316f620cd2601b1792596486 /engines/voyeur
parentaf67394b44c4acaa56ff9a5d91475e75cefc8fa0 (diff)
downloadscummvm-rg350-c72927bb8627a56b499a0b52a19ae9ef4a384dfe.tar.gz
scummvm-rg350-c72927bb8627a56b499a0b52a19ae9ef4a384dfe.tar.bz2
scummvm-rg350-c72927bb8627a56b499a0b52a19ae9ef4a384dfe.zip
VOYEUR: Remove useless object in RL2VideoTrack
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/animation.cpp3
-rw-r--r--engines/voyeur/animation.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp
index be6148c351..7d6e854f87 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 273fc01252..5d08b5a8cf 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;