aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/video_decoder.cpp
diff options
context:
space:
mode:
authorMax Horn2010-08-04 08:25:05 +0000
committerMax Horn2010-08-04 08:25:05 +0000
commit0e2807dc27af89c46a191834e5e623a9e77e9187 (patch)
treea105f2e5207a5aad449d42bf19740668b1716739 /graphics/video/video_decoder.cpp
parent154c589f188914e79ba10da1de947a5ae2c0427e (diff)
downloadscummvm-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/video_decoder.cpp')
-rw-r--r--graphics/video/video_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/video_decoder.cpp b/graphics/video/video_decoder.cpp
index 53a5887e4f..081f47bf78 100644
--- a/graphics/video/video_decoder.cpp
+++ b/graphics/video/video_decoder.cpp
@@ -42,7 +42,7 @@ bool VideoDecoder::loadFile(const Common::String &filename) {
return false;
}
- return load(*file);
+ return load(file);
}
uint32 VideoDecoder::getElapsedTime() const {