summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2017-01-18 10:54:19 +0100
committerEirik Aavitsland <eirik.aavitsland@qt.io>2017-01-31 14:34:39 +0000
commit33ebe6009872229ceca4171e7e6934f919affc1f (patch)
tree62ec976e73912a156d961b5bf68a490ba49d0286 /examples
parent098d87c63fb638db619808af8b86c043354f62c5 (diff)
PNG image handler: Avoid "invalid distance too far back" error
For certain slightly miscoded png images, newer versions of libpng will trigger the mentioned zlib error and fail to read the image. This miscoding has until now been safely ignored by all png implementations, so such images exist in the wild, and users expect them to work. Since the cost of the workaround is only a missed opportunity of a tiny saving in memory usage during decoding, enable it. Task-number: QTBUG-58171 Change-Id: I820a9faef6d5b7af79c04404ebdceb48a096f29a Reviewed-by: André Klitzing <aklitzing@gmail.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions