From b8d32c7cc09c705a514c01f40cf6def7cbf3d18f Mon Sep 17 00:00:00 2001 From: Steve Lhomme <robux4@ycbcr.xyz> Date: Tue, 19 Jun 2018 13:12:58 +0200 Subject: [PATCH] include: move vlc_tick_t in vlc_mtime.h --- 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 80c14742cc83..bba8d47750dc 100644 --- a/include/vlc_common.h +++ b/include/vlc_common.h @@ -276,19 +276,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. * diff --git a/include/vlc_mtime.h b/include/vlc_mtime.h index 39f594680d73..63649bc47fea 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 ***************************************************************************** -- GitLab