diff options
author | Max Horn | 2010-08-04 08:25:05 +0000 |
---|---|---|
committer | Max Horn | 2010-08-04 08:25:05 +0000 |
commit | 0e2807dc27af89c46a191834e5e623a9e77e9187 (patch) | |
tree | a105f2e5207a5aad449d42bf19740668b1716739 /graphics/video/qt_decoder.cpp | |
parent | 154c589f188914e79ba10da1de947a5ae2c0427e (diff) | |
download | scummvm-rg350-0e2807dc27af89c46a191834e5e623a9e77e9187.tar.gz scummvm-rg350-0e2807dc27af89c46a191834e5e623a9e77e9187.tar.bz2 scummvm-rg350-0e2807dc27af89c46a191834e5e623a9e77e9187.zip |
GRAPHICS: Change signature of VideoDecoder::load()
Now takes a pointer to a stream, instead of a reference.
The rational is that in all instances, callers have a pointer
(and dereference it to call load), and all load implementations
turn the reference back into a pointer.
svn-id: r51725
Diffstat (limited to 'graphics/video/qt_decoder.cpp')
-rw-r--r-- | graphics/video/qt_decoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/video/qt_decoder.cpp b/graphics/video/qt_decoder.cpp index 61b0f5166d..470441dab8 100644 --- a/graphics/video/qt_decoder.cpp +++ b/graphics/video/qt_decoder.cpp @@ -308,8 +308,8 @@ bool QuickTimeDecoder::loadFile(const Common::String &filename) { return true; } -bool QuickTimeDecoder::load(Common::SeekableReadStream &stream) { - _fd = &stream; +bool QuickTimeDecoder::load(Common::SeekableReadStream *stream) { + _fd = stream; _foundMOOV = _foundMDAT = false; _numStreams = 0; _partial = 0; |