diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/pngread.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx index 78195d5e7c46..b5ac9e430596 100644 --- a/vcl/source/gdi/pngread.cxx +++ b/vcl/source/gdi/pngread.cxx @@ -273,6 +273,8 @@ bool PNGReaderImpl::ReadNextChunk() PNGReader::ChunkData& rChunkData = *maChunkIter; // read the chunk header + mnChunkLen = 0; + mnChunkType = 0; mrPNGStream.ReadInt32( mnChunkLen ).ReadUInt32( mnChunkType ); rChunkData.nType = mnChunkType; |