Commit 42a2b556e93879f4abe667eb96906aef1fb4e1b3

John Bowler 2012-03-05T20:57:40

[libpng16] Made read 'inflate' handling like write 'deflate' handling. The read code now claims and releases png_ptr->zstream, like the write code. The bug whereby the progressive reader failed to release the zstream is now fixed, all initialization is delayed, and the code checks for changed parameters on deflate rather than always calling deflatedEnd/deflateInit.