<html><head></head><body>Should there be a VLC prefix? How to handle rounding errors? :/<br><br><div class="gmail_quote">Le 7 juin 2018 12:59:45 GMT+03:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">From: Rémi Denis-Courmont <remi@remlab.net><br><br>---<br> include/vlc_common.h | 4 ++++<br> 1 file changed, 4 insertions(+)<br><br>diff --git a/include/vlc_common.h b/include/vlc_common.h<br>index da334710af..d79ed61221 100644<br>--- a/include/vlc_common.h<br>+++ b/include/vlc_common.h<br>@@ -288,6 +288,10 @@<br>  */<br> typedef int64_t mtime_t;<br> <br>+#define MS_TO_MTIME(ms) ((ms) * (CLOCK_FREQ / 1000))<br>+#define MTIME_TO_MS(ms) (((ms) * 1000) / CLOCK_FREQ)<br>+<br>+<br> /**<br>  * The vlc_fourcc_t type.<br>  *</pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>