Gif loader didn't initialize frame buffer of first frame.
authorjypark <jypark@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 1 Aug 2012 04:33:12 +0000 (04:33 +0000)
committerJiyoun Park <jy0703.park@samsung.com>
Fri, 3 Aug 2012 05:28:18 +0000 (14:28 +0900)
fix gif loader to initialize first frame's image data area

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@74704 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

Conflicts:

ChangeLog

Change-Id: I95c5c960b2fe0d24121098fc1ecd808709df0db5

src/modules/loaders/gif/evas_image_load_gif.c

index 75fece0..6bdc92d 100644 (file)
@@ -508,6 +508,8 @@ _evas_image_load_frame_image_data(Image_Entry *ie, GifFileType *gif, Image_Entry
      }
    else /* first frame decoding */
      {
+        memset(ptr, 0, siz);
+
         /* fill background color */
         for (i = 0; i < cache_h; i++)
           {