From 2bb1a2483fd6733fce4e52bbe4e5b414899caf8e Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Tue, 13 Jul 2021 14:03:58 +0900 Subject: [PATCH] [Tizen] Use broken image when animated image loading is failed This reverts commit bb3f75ca29b3f9f76292a3e02c1c7fbc23ff5794. --- dali/internal/imaging/common/gif-loading.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.7.4