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:
513d12d
)
example: fix screwed code by upstream merge.
97/206597/1
accepted/tizen/unified/20190603.095318
accepted/tizen/unified/20190604.014638
submit/tizen/20190530.111225
submit/tizen/20190531.122943
submit/tizen/20190603.083549
author
Hermet Park
<hermetpark@gmail.com>
Wed, 22 May 2019 04:09:47 +0000
(13:09 +0900)
committer
Hermet Park
<hermetpark@gmail.com>
Wed, 22 May 2019 04:09:47 +0000
(13:09 +0900)
Change-Id: If96a02fcd2dc5aa77f5c4e8d0c9e705fa88cd5e3
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);