mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-27 15:12:54 +01:00
0cc811d7d6
For some GIF images, the first frame is missing the corresponding graphic control extension. For such cases, we were never calling GetBackgroundColor(), and default background color value (white) was being used incorrectly. So, we call GetBackgroundColor() when we encounter the first image descriptor instead, to make sure that it is always called. Change-Id: I00fc8e943d8a0c1578dcd718f3e74dec7de4ed61