Remove decompress buffer as it is not used.
Remove destructor as it was for decompress buffer.
Replace long-running ptr operations with unique_ptr for better maintainability.
Move colors into LottieInfo structure.
Move default FitzModifier value to switch operator.
Add additional checks to caching without boolean val.
Remove some unnecessary checks.
Add casting where it is appropriate.
Simplify some returns.
Format code.