projects
/
platform
/
core
/
uifw
/
lottie-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45782f2
)
buildfix: make it build with c++11
author
subhransu mohanty
<sub.mohanty@samsung.com>
Mon, 20 May 2019 04:18:12 +0000
(13:18 +0900)
committer
Hermet Park
<hermetpark@gmail.com>
Wed, 22 May 2019 04:01:13 +0000
(13:01 +0900)
example/lottie2gif.cpp
patch
|
blob
|
history
diff --git
a/example/lottie2gif.cpp
b/example/lottie2gif.cpp
index
ae9c58c
..
38ad9e8
100644
(file)
--- a/
example/lottie2gif.cpp
+++ b/
example/lottie2gif.cpp
@@
-72,7
+72,7
@@
public:
auto player = rlottie::Animation::loadFromFile(fileName);
if (!player) return help();
- auto buffer = std::
make_unique<uint32_t[]>(w * h
);
+ auto buffer = std::
unique_ptr<uint32_t[]>(new uint32_t[w * h]
);
size_t frameCount = player->totalFrame();
GifBuilder builder(baseName.data(), w, h);