diff options
author | Abhishek Kumar <abhishek@kumar> | 2013-05-21 14:00:17 +0700 |
---|---|---|
committer | Abhishek Kumar <abhishek@kumar> | 2013-05-21 14:00:17 +0700 |
commit | 4e7c1b00caecba9e2dca16aab3ec5c16973dd93c (patch) | |
tree | 927dfe496f7c44e43ecb60f09284cc3fcf07caa4 | |
parent | 86951a8b2ff976e7b8eaa47f6b62347ab71260e8 (diff) | |
download | uGFX-4e7c1b00caecba9e2dca16aab3ec5c16973dd93c.tar.gz uGFX-4e7c1b00caecba9e2dca16aab3ec5c16973dd93c.tar.bz2 uGFX-4e7c1b00caecba9e2dca16aab3ec5c16973dd93c.zip |
Fix GIF rendering issue
Uninitialized cache values causes stability issues in systems
Cache initialized to 0 fixes it.
-rw-r--r-- | src/gdisp/image_gif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gdisp/image_gif.c b/src/gdisp/image_gif.c index 2cf4c743..6c61219a 100644 --- a/src/gdisp/image_gif.c +++ b/src/gdisp/image_gif.c @@ -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 */ |