aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/indeo4.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/indeo4.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/indeo4.cpp')
-rw-r--r--image/codecs/indeo4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/codecs/indeo4.cpp b/image/codecs/indeo4.cpp
index 3e4c37bbab..feee811cf0 100644
--- a/image/codecs/indeo4.cpp
+++ b/image/codecs/indeo4.cpp
@@ -85,7 +85,7 @@ const Graphics::Surface *Indeo4Decoder::decodeFrame(Common::SeekableReadStream &
_ctx._frameData = nullptr;
_ctx._frameSize = 0;
- return (err < 0) ? nullptr : &_surface->rawSurface();
+ return (err < 0) ? nullptr : _surface;
}
int Indeo4Decoder::decodePictureHeader() {