aboutsummaryrefslogtreecommitdiff
path: root/image/jpeg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'image/jpeg.cpp')
-rw-r--r--image/jpeg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/image/jpeg.cpp b/image/jpeg.cpp
index 3602d501be..1ce45f2539 100644
--- a/image/jpeg.cpp
+++ b/image/jpeg.cpp
@@ -59,8 +59,8 @@ void JPEGDecoder::destroy() {
_surface.free();
}
-const Graphics::Surface *JPEGDecoder::decodeImage(Common::SeekableReadStream *stream) {
- if (!loadStream(*stream))
+const Graphics::Surface *JPEGDecoder::decodeFrame(Common::SeekableReadStream &stream) {
+ if (!loadStream(stream))
return 0;
return getSurface();