aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/codecs/codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/video/codecs/codec.h')
-rw-r--r--graphics/video/codecs/codec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/codecs/codec.h b/graphics/video/codecs/codec.h
index 802671a037..565faf8442 100644
--- a/graphics/video/codecs/codec.h
+++ b/graphics/video/codecs/codec.h
@@ -40,7 +40,7 @@ public:
Codec() {}
virtual ~Codec() {}
- virtual Surface *decodeImage(Common::SeekableReadStream *stream) = 0;
+ virtual const Surface *decodeImage(Common::SeekableReadStream *stream) = 0;
virtual PixelFormat getPixelFormat() const = 0;
};