8 Aug
2023
8 Aug
'23
3:12 a.m.
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? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3510#note_41565