aboutsummaryrefslogtreecommitdiff
path: root/image/png.h
diff options
context:
space:
mode:
authorBastien Bouclet2016-09-19 07:51:24 +0200
committerBastien Bouclet2016-09-19 08:02:19 +0200
commit702df395eb30272a9e1de10cc9b0ae5f97e754cb (patch)
treed26ae9bbc55b4c8d6d2ee63385e2075a962f5a54 /image/png.h
parentff1a9ac8d45d6335d75371ef91986700a2019500 (diff)
downloadscummvm-rg350-702df395eb30272a9e1de10cc9b0ae5f97e754cb.tar.gz
scummvm-rg350-702df395eb30272a9e1de10cc9b0ae5f97e754cb.tar.bz2
scummvm-rg350-702df395eb30272a9e1de10cc9b0ae5f97e754cb.zip
IMAGE: Change PNGDecoder to never delete the input stream
The stream is owned by the caller. Fixes CID 1362842.
Diffstat (limited to 'image/png.h')
-rw-r--r--image/png.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/image/png.h b/image/png.h
index c4532fd03b..b7ac91a3d2 100644
--- a/image/png.h
+++ b/image/png.h
@@ -56,7 +56,6 @@ public:
const byte *getPalette() const { return _palette; }
uint16 getPaletteColorCount() const { return _paletteColorCount; }
private:
- Common::SeekableReadStream *_stream;
byte *_palette;
uint16 _paletteColorCount;