evas: fix bugs in gif image loader
authorJaeun Choi <jaeun12.choi@samsung.com>
Fri, 10 Feb 2017 07:56:50 +0000 (16:56 +0900)
committerJaeun Choi <jaeun12.choi@samsung.com>
Mon, 13 Feb 2017 05:28:43 +0000 (14:28 +0900)
commit95d83e80406ddf48305cdbc91eecd340ecc4c6e1
treee787991a4182003d05c282e47bf5805d75be1938
parent243e8a678b0bfc7aa819210aad1ba40b32803d1c
evas: fix bugs in gif image loader

gif's logical screen size (which is considered the image size)
might be different from the size of each frame.
when decoding a frame, the width and height of the decoded data should be
based on the size of the frame, not on the size of the logical screen size.
if a frame is decoded into a buffer of screen size, this might happen

(frame = 6 X 3, logical screen = 5 X 3)
OOOXXX      OOOXX
OOOXXX  =>  XOOOX
OOOXXX      XXOOO

@fix
src/modules/evas/image_loaders/gif/evas_image_load_gif.c