aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/indeo4.cpp
diff options
context:
space:
mode:
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() {