[vlc-commits] include: move vlc_tick_t in vlc_mtime.h
Steve Lhomme
git at videolan.org
Fri Jun 22 13:44:23 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Jun 19 13:12:58 2018 +0200| [b8d32c7cc09c705a514c01f40cf6def7cbf3d18f] | committer: Steve Lhomme
include: move vlc_tick_t in vlc_mtime.h
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b8d32c7cc09c705a514c01f40cf6def7cbf3d18f
---
include/vlc_common.h | 13 -------------
include/vlc_mtime.h | 13 +++++++++++++
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index 80c14742cc..bba8d47750 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -277,19 +277,6 @@
* Basic types definitions
*****************************************************************************/
/**
- * High precision date or time interval
- *
- * Store a high precision date or time interval. The maximum precision is the
- * microsecond, and a 64 bits integer is used to avoid overflows (maximum
- * time interval is then 292271 years, which should be long enough for any
- * video). Dates are stored as microseconds since a common date (usually the
- * epoch). Note that date and time intervals can be manipulated using regular
- * arithmetic operators, and that no special functions are required.
- */
-typedef int64_t vlc_tick_t;
-typedef vlc_tick_t mtime_t; /* deprecated, use vlc_tick_t */
-
-/**
* The vlc_fourcc_t type.
*
* See http://www.webartz.com/fourcc/ for a very detailed list.
diff --git a/include/vlc_mtime.h b/include/vlc_mtime.h
index 39f594680d..63649bc47f 100644
--- a/include/vlc_mtime.h
+++ b/include/vlc_mtime.h
@@ -32,6 +32,19 @@
#ifndef __VLC_MTIME_H
# define __VLC_MTIME_H 1
+/**
+ * High precision date or time interval
+ *
+ * Store a high precision date or time interval. The maximum precision is the
+ * microsecond, and a 64 bits integer is used to avoid overflows (maximum
+ * time interval is then 292271 years, which should be long enough for any
+ * video). Dates are stored as microseconds since a common date (usually the
+ * epoch). Note that date and time intervals can be manipulated using regular
+ * arithmetic operators, and that no special functions are required.
+ */
+typedef int64_t vlc_tick_t;
+typedef vlc_tick_t mtime_t; /* deprecated, use vlc_tick_t */
+
/*****************************************************************************
* MSTRTIME_MAX_SIZE: maximum possible size of mstrtime
*****************************************************************************
More information about the vlc-commits
mailing list