]> git.sesse.net Git - vlc/blobdiff - include/mtime.h
2nd attempt to get libcdio cdda working.
[vlc] / include / mtime.h
index 582941399477ccf7eac1d3cb71f79e5870e1c109..017fc270fbac94dce585e9cf82336ca66c34cf8c 100644 (file)
  *****************************************************************************/
 #define MSTRTIME_MAX_SIZE 22
 
+/* Well, Duh? But it does clue us in that we are converting from
+   millisecond quantity to a second quantity or vice versa.
+*/
+#define MILLISECONDS_PER_SEC 1000
+
 #define msecstotimestr(psz_buffer, msecs) \
-  secstotimestr( psz_buffer, (msecs / (int) 1000) )
+  secstotimestr( psz_buffer, (msecs / (int) MILLISECONDS_PER_SEC) )
 
 /*****************************************************************************
  * Prototypes