aboutsummaryrefslogtreecommitdiff
path: root/graphics/decoders/png.cpp
diff options
context:
space:
mode:
authorD G Turner2013-09-30 05:01:41 +0100
committerD G Turner2013-09-30 05:01:41 +0100
commit480a059f8357f47a4d5e1304cfa44111399883e9 (patch)
tree5276f8bc8e0d34d88f4f37dcac792b8f3386f5a0 /graphics/decoders/png.cpp
parent62d07700b3b7ea25c5cdb1f6b394eb699a01e8e0 (diff)
downloadscummvm-rg350-480a059f8357f47a4d5e1304cfa44111399883e9.tar.gz
scummvm-rg350-480a059f8357f47a4d5e1304cfa44111399883e9.tar.bz2
scummvm-rg350-480a059f8357f47a4d5e1304cfa44111399883e9.zip
GRAPHICS: Fix uninitialised field in PNG decoder. CID 1002280.
Diffstat (limited to 'graphics/decoders/png.cpp')
-rw-r--r--graphics/decoders/png.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/decoders/png.cpp b/graphics/decoders/png.cpp
index 505475213f..5acb7b36f7 100644
--- a/graphics/decoders/png.cpp
+++ b/graphics/decoders/png.cpp
@@ -38,7 +38,7 @@
namespace Graphics {
-PNGDecoder::PNGDecoder() : _outputSurface(0), _palette(0), _paletteColorCount(0) {
+PNGDecoder::PNGDecoder() : _outputSurface(0), _palette(0), _paletteColorCount(0), _stream(0) {
}
PNGDecoder::~PNGDecoder() {