mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
rlottie: fix typo which was causing invalid memory read
This commit is contained in:
parent
5580a60813
commit
482ac8738e
@ -138,7 +138,7 @@ inline T lerp(const T& start, const T& end, float t)
|
|||||||
|
|
||||||
inline LottieShapeData lerp(const LottieShapeData& start, const LottieShapeData& end, float t)
|
inline LottieShapeData lerp(const LottieShapeData& start, const LottieShapeData& end, float t)
|
||||||
{
|
{
|
||||||
if (start.mPoints.size() != start.mPoints.size())
|
if (start.mPoints.size() != end.mPoints.size())
|
||||||
return LottieShapeData();
|
return LottieShapeData();
|
||||||
|
|
||||||
LottieShapeData result;
|
LottieShapeData result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user