Jeffrey Smith (@whydoubt) commented about dlls/mfmediaengine/main.c:
return TRUE;
}
+/* Convert 100ns to seconds */ +static double mftime_to_second(MFTIME time) +{
- return (double)time / 10000000.0;
First, I like this helper.
Because the second term is now a `double`, `time` will be automatically promoted. So we don't need the explicit cast, but do we want to keep it anyway?