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/codec.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'image/codecs/codec.h') diff --git a/image/codecs/codec.h b/image/codecs/codec.h index 1b7a295e9d..092f9754f3 100644 --- a/image/codecs/codec.h +++ b/image/codecs/codec.h @@ -59,9 +59,8 @@ public: * containing the decoded frame. * * @return a pointer to the decoded frame - * @note stream is not deleted */ - virtual const Graphics::Surface *decodeImage(Common::SeekableReadStream *stream) = 0; + virtual const Graphics::Surface *decodeFrame(Common::SeekableReadStream &stream) = 0; /** * Get the format that the surface returned from decodeImage() will -- cgit v1.2.3