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