projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(WebP Loader) Ensure member variables are initialised (SVACE issue)
[platform/core/uifw/dali-adaptor.git]
/
dali
/
internal
/
imaging
/
common
/
webp-loading.cpp
diff --git
a/dali/internal/imaging/common/webp-loading.cpp
b/dali/internal/imaging/common/webp-loading.cpp
index
db9a48f
..
cc4246a
100644
(file)
--- a/
dali/internal/imaging/common/webp-loading.cpp
+++ b/
dali/internal/imaging/common/webp-loading.cpp
@@
-65,8
+65,7
@@
struct WebPLoading::Impl
{
public:
Impl( const std::string& url, bool isLocalResource )
{
public:
Impl( const std::string& url, bool isLocalResource )
- : mUrl( url ),
- mLoadingFrame( 0 )
+ : mUrl( url )
{
#ifdef DALI_WEBP_ENABLED
if( ReadWebPInformation( isLocalResource ) )
{
#ifdef DALI_WEBP_ENABLED
if( ReadWebPInformation( isLocalResource ) )
@@
-180,12
+179,12
@@
public:
std::string mUrl;
std::vector<uint32_t> mTimeStamp;
std::string mUrl;
std::vector<uint32_t> mTimeStamp;
- uint32_t mLoadingFrame;
+ uint32_t mLoadingFrame
{0}
;
#ifdef DALI_WEBP_ENABLED
#ifdef DALI_WEBP_ENABLED
- WebPData mWebPData;
- WebPAnimDecoder* mWebPAnimDecoder;
- WebPAnimInfo mWebPAnimInfo;
+ WebPData mWebPData
{0}
;
+ WebPAnimDecoder* mWebPAnimDecoder
{nullptr}
;
+ WebPAnimInfo mWebPAnimInfo
{0}
;
#endif
};
#endif
};