aboutsummaryrefslogtreecommitdiff
path: root/graphics/video
diff options
context:
space:
mode:
authorSylvain Dupont2010-10-09 00:17:55 +0000
committerSylvain Dupont2010-10-09 00:17:55 +0000
commit0fc6572b65908f7d3a7d13537afac67f1cc8a68b (patch)
tree56cab70ec5c570d0915c31caf99a93ccf1bf7415 /graphics/video
parente11637c7bc41d59dc6a666d3f0399b9a699b2443 (diff)
downloadscummvm-rg350-0fc6572b65908f7d3a7d13537afac67f1cc8a68b.tar.gz
scummvm-rg350-0fc6572b65908f7d3a7d13537afac67f1cc8a68b.tar.bz2
scummvm-rg350-0fc6572b65908f7d3a7d13537afac67f1cc8a68b.zip
VIDEO: Remove useless references in handleAudioTrack function
svn-id: r53091
Diffstat (limited to 'graphics/video')
-rw-r--r--graphics/video/smk_decoder.cpp2
-rw-r--r--graphics/video/smk_decoder.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/video/smk_decoder.cpp b/graphics/video/smk_decoder.cpp
index db19732798..5100fffc62 100644
--- a/graphics/video/smk_decoder.cpp
+++ b/graphics/video/smk_decoder.cpp
@@ -712,7 +712,7 @@ Surface *SmackerDecoder::decodeNextFrame() {
return _surface;
}
-void SmackerDecoder::handleAudioTrack(const byte &track, const uint32 &chunkSize, const uint32 &unpackedSize) {
+void SmackerDecoder::handleAudioTrack(byte track, uint32 chunkSize, uint32 unpackedSize) {
if (_header.audioInfo[track].hasAudio && chunkSize > 0 && track == 0) {
// If it's track 0, play the audio data
byte *soundBuffer = (byte *)malloc(chunkSize);
diff --git a/graphics/video/smk_decoder.h b/graphics/video/smk_decoder.h
index 1745aee7d2..5faeab4343 100644
--- a/graphics/video/smk_decoder.h
+++ b/graphics/video/smk_decoder.h
@@ -69,7 +69,7 @@ public:
PixelFormat getPixelFormat() const { return PixelFormat::createFormatCLUT8(); }
byte *getPalette() { _dirtyPalette = false; return _palette; }
bool hasDirtyPalette() const { return _dirtyPalette; }
- virtual void handleAudioTrack(const byte &track, const uint32 &chunkSize, const uint32 &unpackedSize);
+ virtual void handleAudioTrack(byte track, uint32 chunkSize, uint32 unpackedSize);
protected:
Common::Rational getFrameRate() const { return _frameRate; }