allow divide by zero

Bug: oss-fuzz:8214
Change-Id: Ieb2e61b23f88e399df3bfb284742d4604b7d27fa
Reviewed-on: https://skia-review.googlesource.com/127322
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/experimental/skottie/Skottie.cpp b/experimental/skottie/Skottie.cpp
index 381c9be..03429e7 100644
--- a/experimental/skottie/Skottie.cpp
+++ b/experimental/skottie/Skottie.cpp
@@ -770,7 +770,7 @@
              stretch_time = jlayer["sr"].toDefault(1.0f);
 
     *time_bias = -start_time;
-    *time_scale = 1 / stretch_time;
+    *time_scale = sk_ieee_float_divide(1, stretch_time);
     if (SkScalarIsNaN(*time_scale)) {
         *time_scale = 1;
     }