diff options
Diffstat (limited to 'graphics/video/codecs/mjpeg.cpp')
-rw-r--r-- | graphics/video/codecs/mjpeg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/codecs/mjpeg.cpp b/graphics/video/codecs/mjpeg.cpp index 76363036ee..1efaa6ac19 100644 --- a/graphics/video/codecs/mjpeg.cpp +++ b/graphics/video/codecs/mjpeg.cpp @@ -45,7 +45,7 @@ JPEGDecoder::~JPEGDecoder() { } } -Surface *JPEGDecoder::decodeImage(Common::SeekableReadStream* stream) { +const Surface *JPEGDecoder::decodeImage(Common::SeekableReadStream* stream) { _jpeg->read(stream); Surface *ySurface = _jpeg->getComponent(1); Surface *uSurface = _jpeg->getComponent(2); |