aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/codec.h
diff options
context:
space:
mode:
authorMatthew Hoops2014-02-27 21:27:24 -0500
committerMatthew Hoops2014-02-28 00:27:37 -0500
commit08ea14a8d0e1a1478d1f486edeecea3e619e0cd0 (patch)
tree54e46574c82d1aa95c4cca2a16e31faae2e34aea /image/codecs/codec.h
parente6717aaf43c7a25d426502a6d5d7028d50aab255 (diff)
downloadscummvm-rg350-08ea14a8d0e1a1478d1f486edeecea3e619e0cd0.tar.gz
scummvm-rg350-08ea14a8d0e1a1478d1f486edeecea3e619e0cd0.tar.bz2
scummvm-rg350-08ea14a8d0e1a1478d1f486edeecea3e619e0cd0.zip
IMAGE: Make Codec take a stream reference; change function name to decodeFrame
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