Fix GIF rendering issue

Uninitialized cache values causes stability issues in systems
Cache initialized to 0 fixes it.
ugfx_release_2.6
Abhishek Kumar 2013-05-21 14:00:17 +07:00
parent 86951a8b2f
commit 4e7c1b00ca
1 changed files with 2 additions and 0 deletions

View File

@ -576,6 +576,8 @@ gdispImageError gdispImageOpen_GIF(gdispImage *img) {
priv->palsize = 0;
priv->palette = 0;
priv->frame.flags = 0;
priv->cache = 0;
priv->curcache = 0;
/* Process the Screen Descriptor structure */