Try to fix png crash issue 48/144548/1
authorxinyan.mei <xinyan.mei@samsung.com>
Fri, 11 Aug 2017 09:37:29 +0000 (17:37 +0800)
committerVictor Cebollada <v.cebollada@samsung.com>
Thu, 17 Aug 2017 06:21:33 +0000 (07:21 +0100)
commitbcd24b0b7e1f1347051d2c52f9698c63f47dcc41
tree136f8eaa68465c5c774187ed04ce8c984b0bd916
parenta8308df8fd7f284619007926d1115e1542c355b6
Try to fix png crash issue

Problem: png crash
Reason: png header info indicate that color type is RGB  width = 92, height = 92.
        but real rowbytes is 92 x 4, it means the color type should be RGBA
Solution: Correct the pixelformat according to the real rowbytes

Change-Id: I90f2865b54c62da6fdb41f32abe3971e274b6e94
Signed-off-by: xinyan.mei <xinyan.mei@samsung.com>
platform-abstractions/tizen/image-loaders/loader-png.cpp [changed mode: 0644->0755]