From b05ea9fc25e7cc27561d1d9e582007010a7f9890 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 30 Jul 2019 12:54:08 +0200 Subject: [PATCH] Fix some problems in working with rlottie. --- Telegram/SourceFiles/lottie/lottie_animation.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/lottie/lottie_animation.cpp b/Telegram/SourceFiles/lottie/lottie_animation.cpp index 6a37ce534..4ece64add 100644 --- a/Telegram/SourceFiles/lottie/lottie_animation.cpp +++ b/Telegram/SourceFiles/lottie/lottie_animation.cpp @@ -128,7 +128,11 @@ std::unique_ptr 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.")); }