aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/indeo5.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-09-11 15:25:24 -0400
committerPaul Gilbert2016-09-11 15:25:24 -0400
commit21979d741b5e72730d34151e3372353d08a5b942 (patch)
treeae78bd21aec361f4127845c0aba3eadf33a635ad /image/codecs/indeo5.cpp
parentdd1a2b65e9a79b4d643c5b8fe3a8a35dd03c80c0 (diff)
downloadscummvm-rg350-21979d741b5e72730d34151e3372353d08a5b942.tar.gz
scummvm-rg350-21979d741b5e72730d34151e3372353d08a5b942.tar.bz2
scummvm-rg350-21979d741b5e72730d34151e3372353d08a5b942.zip
IMAGE: Try and work around N64 compilation error
Diffstat (limited to 'image/codecs/indeo5.cpp')
-rw-r--r--image/codecs/indeo5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/codecs/indeo5.cpp b/image/codecs/indeo5.cpp
index d5ce571bea..522722f73a 100644
--- a/image/codecs/indeo5.cpp
+++ b/image/codecs/indeo5.cpp
@@ -96,7 +96,7 @@ const Graphics::Surface *Indeo5Decoder::decodeFrame(Common::SeekableReadStream &
_ctx._frameData = nullptr;
_ctx._frameSize = 0;
- return (err < 0) ? nullptr : &_surface->rawSurface();
+ return (err < 0) ? nullptr : _surface;
}
int Indeo5Decoder::decodePictureHeader() {