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
[3.0] Fix native image capture code and DALi image saving
[platform/core/uifw/dali-adaptor.git]
/
platform-abstractions
/
tizen
/
image-loaders
/
loader-png.cpp
diff --git
a/platform-abstractions/tizen/image-loaders/loader-png.cpp
b/platform-abstractions/tizen/image-loaders/loader-png.cpp
index
6bc66d6
..
3d0d01b
100644
(file)
--- a/
platform-abstractions/tizen/image-loaders/loader-png.cpp
+++ b/
platform-abstractions/tizen/image-loaders/loader-png.cpp
@@
-367,7
+367,7
@@
namespace
if(encoded_img)
{
const Vector<unsigned char>::SizeType bufferSize = encoded_img->Count();
if(encoded_img)
{
const Vector<unsigned char>::SizeType bufferSize = encoded_img->Count();
- encoded_img->Res
erv
e( bufferSize + length ); //< Can throw OOM.
+ encoded_img->Res
iz
e( bufferSize + length ); //< Can throw OOM.
unsigned char* const bufferBack = encoded_img->Begin() + bufferSize;
memcpy(bufferBack, data, length);
}
unsigned char* const bufferBack = encoded_img->Begin() + bufferSize;
memcpy(bufferBack, data, length);
}