diff --git a/modules/juce_video/native/juce_Video_mac.h b/modules/juce_video/native/juce_Video_mac.h index 0ca801c2a0..2ad8e824ce 100644 --- a/modules/juce_video/native/juce_Video_mac.h +++ b/modules/juce_video/native/juce_Video_mac.h @@ -797,7 +797,7 @@ private: static double toSeconds (const CMTime& t) noexcept { - return t.timescale != 0 ? (t.value / (double) t.timescale) : 0.0; + return t.timescale != 0 ? ((double) t.value / (double) t.timescale) : 0.0; } void playerPreparationFinished (const URL& url, Result r)