diff options
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(); |