From: Joogab Yun Date: Mon, 19 Apr 2021 07:26:42 +0000 (+0900) Subject: [Tizen] Use broken image when animated image loading is failed. X-Git-Tag: accepted/tizen/unified/20210422.090541~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22f637b8471070ef0edefc0e9fb58f2ee007fbaf;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git [Tizen] Use broken image when animated image loading is failed. This reverts commit 70c35b01b4ecaa39f0be51c49a1f76b2eb741b0a. Change-Id: I3cf605b49d668b93492e04ff216e67f93b0d5803 --- diff --git a/dali/internal/imaging/common/gif-loading.cpp b/dali/internal/imaging/common/gif-loading.cpp index a142447..1b195b9 100644 --- a/dali/internal/imaging/common/gif-loading.cpp +++ b/dali/internal/imaging/common/gif-loading.cpp @@ -1282,6 +1282,10 @@ bool GifLoading::LoadNextNFrames(uint32_t frameStartIndex, int count, std::vecto { int error; bool ret = false; + if(!mImpl->mLoadSucceeded) + { + return false; + } Mutex::ScopedLock lock(mImpl->mMutex); if(!mImpl->mLoadSucceeded)