Janne Grunau <[email protected]> writes: >> +/** >> + * Sleep for a period of time. >> + * @param usec Number of microseconds to sleep. >> + * @return zero on success or (negative) error code. >> + */ >> +int av_usleep(unsigned usec); > > Please mention the reduced precision on windows, if I interpret > msdn correctly the timer resolution used for Sleep might larger > than 10ms.
Will do. > Are there usleep implementation which fail if the period is larger > than a second? If yes, we should mention that in the docs. The old POSIX spec does allow such a restriction. I don't know if any current systems actually behave like that though. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
