diff --git a/include/vlc_common.h b/include/vlc_common.h index 80c14742cc83bd55287d2affc2547f8671b3c5e8..bba8d47750dc5eff4e7dd1feef8028219e383529 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 39f594680d739fbdd1907997cbf52d78ee2aa518..63649bc47fea8d5e0ee09ec826f9ee743079fab9 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 *****************************************************************************