From c9c28945f746c18c7d9448acd1e7879eef50ef41 Mon Sep 17 00:00:00 2001 From: "EverLEEst(SangHyeon Lee)" Date: Mon, 5 Jul 2021 15:11:32 +0900 Subject: [PATCH] [Tizen] Use broken image when animated image loading is failed. This reverts commit 7dd3b9db056b8f372469dd6a63d12ddd7d51a7a7. --- 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