mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-30 23:20:28 +00:00
Check that root layer was found.
This commit is contained in:
parent
ba6b92f341
commit
6e8b3ae8c2
@ -598,7 +598,7 @@ void LottieParserImpl::parseComposition()
|
||||
}
|
||||
}
|
||||
|
||||
if (comp->mVersion.empty()) {
|
||||
if (comp->mVersion.empty() || !comp->mRootLayer) {
|
||||
// don't have a valid bodymovin header
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user