[Tizen] Use broken image when animated image loading is failed. accepted/tizen/unified/20210331.054146 accepted/tizen/unified/20210331.105533 submit/tizen/20210330.063431 submit/tizen/20210331.140239
authorBowon Ryu <bowon.ryu@samsung.com>
Tue, 30 Mar 2021 04:28:16 +0000 (13:28 +0900)
committerBowon Ryu <bowon.ryu@samsung.com>
Tue, 30 Mar 2021 04:28:16 +0000 (13:28 +0900)
This reverts commit a27101a9b426fe777d7c9dd889f97e7f8f6ad2a8.

Change-Id: Iefe2a7406ce69c1cb2073b4cb7cdc5e777fa6404

dali/internal/imaging/common/gif-loading.cpp

index a142447..1b195b9 100644 (file)
@@ -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)