diff options
author | Matthew Hoops | 2010-12-16 02:02:53 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-12-16 02:02:53 +0000 |
commit | 9285986e62c5bf4985dc2680d1393e67d65c6656 (patch) | |
tree | 98dc06a51cc66f62b7f440f17d989e7107eaae20 /graphics/video/codecs/cinepak.cpp | |
parent | 98a2bc8a9a59d3e77d0a6dd3baf526c63ac8feda (diff) | |
download | scummvm-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.cpp | 2 |
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(); |