From 08ea14a8d0e1a1478d1f486edeecea3e619e0cd0 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 27 Feb 2014 21:27:24 -0500 Subject: IMAGE: Make Codec take a stream reference; change function name to decodeFrame --- image/codecs/cdtoons.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image/codecs/cdtoons.h') diff --git a/image/codecs/cdtoons.h b/image/codecs/cdtoons.h index ac569b5307..a75ce551c2 100644 --- a/image/codecs/cdtoons.h +++ b/image/codecs/cdtoons.h @@ -49,7 +49,7 @@ public: CDToonsDecoder(uint16 width, uint16 height); ~CDToonsDecoder(); - Graphics::Surface *decodeImage(Common::SeekableReadStream *stream); + Graphics::Surface *decodeFrame(Common::SeekableReadStream &stream); Graphics::PixelFormat getPixelFormat() const { return Graphics::PixelFormat::createFormatCLUT8(); } bool containsPalette() const { return true; } const byte *getPalette() { _dirtyPalette = false; return _palette; } -- cgit v1.2.3