summaryrefslogtreecommitdiffstats
path: root/libavutil/time.c
Commit message (Collapse)AuthorAgeFilesLines
* lavu: add av_usleep() functionMans Rullgard2012-06-221-1/+23
| | | | | | | | | | | | | | | This function implements a delay using the first available of the following functions: - nanosleep() - usleep() - Sleep() (Windows) The conditional #includes in time.c are simplified by including unistd.h and windows.h whenever they are available rather than having these lines triggered by specific functions. Signed-off-by: Mans Rullgard <mans@mansr.com>
* av_gettime: support Win32 without gettimeofday()Mans Rullgard2012-06-201-0/+16
| | | | | | Based on patch by Ronald S. Bultje. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move av_gettime() to libavutilMans Rullgard2012-06-201-0/+30
Signed-off-by: Mans Rullgard <mans@mansr.com>
OpenPOWER on IntegriCloud