Closed pixelmatix closed 9 years ago
Pinging @CraigLindley - in case you're interested
Yes this was a conscience decision on my part to limit RAM usage. This was necessary for the LightAppliance but probably not for just playing animated GIFS.
Thanks for making it easy to change for my use case!
Discovered using this GIF which has a lot of subtle color variations. The GIF plays without crashing, but occasional a few rows at the bottom look corrupted. Debugging showed a lot of instances in
lzw_decode()
wherecursize >= LZW_MAXBITS
. Increasing LZW_MAXBITS from 10 to 11 fixed the issue for this GIF at the cost of about 6k of RAM.