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/dxa_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/dxa_decoder.cpp')
-rw-r--r-- | graphics/video/dxa_decoder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/video/dxa_decoder.cpp b/graphics/video/dxa_decoder.cpp index 3f26012f5e..5066e8cf37 100644 --- a/graphics/video/dxa_decoder.cpp +++ b/graphics/video/dxa_decoder.cpp @@ -66,10 +66,10 @@ DXADecoder::~DXADecoder() { close(); } -bool DXADecoder::load(Common::SeekableReadStream &stream) { +bool DXADecoder::load(Common::SeekableReadStream *stream) { close(); - _fileStream = &stream; + _fileStream = stream; uint32 tag = _fileStream->readUint32BE(); assert(tag == MKID_BE('DEXA')); |