From d3d3a32c9d389cc0d6a91b389988a225ae01c948 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Thu, 21 Jun 2012 17:00:25 +0100 Subject: lavu: add av_usleep() function 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 --- doc/APIchanges | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') diff --git a/doc/APIchanges b/doc/APIchanges index 85db9033cb..b84c7ae85c 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -13,6 +13,9 @@ libavutil: 2011-04-18 API changes, most recent first: +2012-06-22 - xxxxxxx - lavu 51.34.0 + Add av_usleep() + 2012-06-20 - ae0a301 - lavu 51.33.0 Move av_gettime() to libavutil, add libavutil/time.h -- cgit v1.2.3