summaryrefslogtreecommitdiff
path: root/libavutil/time.h
Commit message (Collapse)AuthorAge
* lavu: add av_usleep() functionMans Rullgard2012-06-22
| | | | | | | | | | | | | | | 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>
* Move av_gettime() to libavutilMans Rullgard2012-06-20
Signed-off-by: Mans Rullgard <mans@mansr.com>