rlottie: fix typo which was causing invalid memory read 52/208152/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 19 Jun 2019 00:09:04 +0000 (09:09 +0900)
committerHermet Park <hermetpark@gmail.com>
Wed, 19 Jun 2019 04:36:35 +0000 (13:36 +0900)
Change-Id: I724b9097b4239702807bc82c2dbd15e6bb31b369

src/lottie/lottiemodel.h

index 9cf17b28973e6c3878da1a587823f6ce1509fdd7..ac2b4076492640ce4686879b94d0208afc5a2fbc 100644 (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;