rlottie: fix typo which was causing invalid memory read

This commit is contained in:
subhransu mohanty 2019-06-19 09:09:04 +09:00 committed by Subhransu
parent 5580a60813
commit 482ac8738e

View File

@ -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)
{
if (start.mPoints.size() != start.mPoints.size())
if (start.mPoints.size() != end.mPoints.size())
return LottieShapeData();
LottieShapeData result;