Fix some problems in working with rlottie.

This commit is contained in:
John Preston 2019-07-30 12:54:08 +02:00
parent 8d94cfb61b
commit b05ea9fc25
1 changed files with 5 additions and 1 deletions

View File

@ -128,7 +128,11 @@ std::unique_ptr<rlottie::Animation> CreateFromContent(
const auto string = UnpackGzip(content);
Assert(string.size() <= kMaxFileSize);
auto result = rlottie::Animation::loadFromData(string, std::string());
auto result = rlottie::Animation::loadFromData(
string,
std::string(),
std::string(),
false);
if (!result) {
LOG(("Lottie Error: Parse failed."));
}