mWebPData.bytes = mBuffer;
WebPDemuxer* demuxer = WebPDemux(&mWebPData);
- uint32_t flags = WebPDemuxGetI(demuxer, WEBP_FF_FORMAT_FLAGS);
+ uint32_t flags = WebPDemuxGetI(demuxer, WEBP_FF_FORMAT_FLAGS);
if(flags & ANIMATION_FLAG)
{
mIsAnimatedImage = true;
bool mIsLocalResource;
#ifdef DALI_WEBP_AVAILABLE
- WebPData mWebPData{0};
+ WebPData mWebPData{0};
#endif
#ifdef DALI_ANIMATED_WEBP_ENABLED
{
Dali::Devel::PixelBuffer pixelBuffer;
#ifdef DALI_ANIMATED_WEBP_ENABLED
- if(mImpl->mLatestLoadedFrame > static_cast<int32_t>(frameIndex))
+ if(mImpl->mLatestLoadedFrame >= static_cast<int32_t>(frameIndex))
{
mImpl->mLatestLoadedFrame = INITIAL_INDEX;
WebPAnimDecoderReset(mImpl->mWebPAnimDecoder);