Don't cache colorMap pointer. 82/273282/1
authorEunki, Hong <eunkiki.hong@samsung.com>
Fri, 1 Apr 2022 12:26:46 +0000 (21:26 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Fri, 1 Apr 2022 12:26:46 +0000 (21:26 +0900)
commit6aa7254120950cc8ddc46f9a815321b014dd22a2
tree3fc5cc6f1899419127d2aecc0664fec4d00af2e0
parentc5fbec7b53948686da1d2bcb81f9517224521ad9
Don't cache colorMap pointer.

Some gif image failed to load the image map.
Maybe giflib re-use the memory of ColorMapPtr internally.

This patch make we don't cache localColorMapPtr and make always
generate colormap vector.

Due to the generating frequency, I increase the threshold a little.

Change-Id: Ie91723f0053f762d65c7ff3d25f74a1a6276b61b
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/imaging/common/gif-loading.cpp