C99/C++11: replace deprecated finite() by isfinite().
[blender.git] / source / blender / editors / screen / screen_ops.c
index be421d779eb545fb60f033086037dde1b5aad5e4..4111f67553a2e77fccb3da79a8c84a196340e179 100644 (file)
@@ -3467,7 +3467,7 @@ static int screen_animation_step(bContext *C, wmOperator *UNUSED(op), const wmEv
                
                if ((scene->audio.flag & AUDIO_SYNC) &&
                    (sad->flag & ANIMPLAY_FLAG_REVERSE) == false &&
-                   finite(time = BKE_sound_sync_scene(scene)))
+                   isfinite(time = BKE_sound_sync_scene(scene)))
                {
                        double newfra = (double)time * FPS;