mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix some problems in working with rlottie.
This commit is contained in:
@@ -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."));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user