aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/codecs/cinepak.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-12-16 02:02:53 +0000
committerMatthew Hoops2010-12-16 02:02:53 +0000
commit9285986e62c5bf4985dc2680d1393e67d65c6656 (patch)
tree98dc06a51cc66f62b7f440f17d989e7107eaae20 /graphics/video/codecs/cinepak.cpp
parent98a2bc8a9a59d3e77d0a6dd3baf526c63ac8feda (diff)
downloadscummvm-rg350-9285986e62c5bf4985dc2680d1393e67d65c6656.tar.gz
scummvm-rg350-9285986e62c5bf4985dc2680d1393e67d65c6656.tar.bz2
scummvm-rg350-9285986e62c5bf4985dc2680d1393e67d65c6656.zip
VIDEO: Make Codec::decodeImage() return a const Surface pointer
svn-id: r54930
Diffstat (limited to 'graphics/video/codecs/cinepak.cpp')
-rw-r--r--graphics/video/codecs/cinepak.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/codecs/cinepak.cpp b/graphics/video/codecs/cinepak.cpp
index b6903cf201..3264810908 100644
--- a/graphics/video/codecs/cinepak.cpp
+++ b/graphics/video/codecs/cinepak.cpp
@@ -68,7 +68,7 @@ CinepakDecoder::~CinepakDecoder() {
delete[] _curFrame.strips;
}
-Surface *CinepakDecoder::decodeImage(Common::SeekableReadStream *stream) {
+const Surface *CinepakDecoder::decodeImage(Common::SeekableReadStream *stream) {
_curFrame.flags = stream->readByte();
_curFrame.length = (stream->readByte() << 16) + stream->readUint16BE();
_curFrame.width = stream->readUint16BE();