aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'image/codecs/codec.h')
-rw-r--r--image/codecs/codec.h3
1 files changed, 1 insertions, 2 deletions
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