diff options
author | Bastien Bouclet | 2016-09-19 07:51:24 +0200 |
---|---|---|
committer | Bastien Bouclet | 2016-09-19 08:02:19 +0200 |
commit | 702df395eb30272a9e1de10cc9b0ae5f97e754cb (patch) | |
tree | d26ae9bbc55b4c8d6d2ee63385e2075a962f5a54 /image/png.h | |
parent | ff1a9ac8d45d6335d75371ef91986700a2019500 (diff) | |
download | scummvm-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.h | 1 |
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; |