[MPlayer-dev-eng] [MPlayer-cvslog] r38229 - trunk/libao2/ao_null.c
Erik Auerswald
auerswal at unix-ag.uni-kl.de
Fri Jan 22 09:58:08 EET 2021
Hello Reimar,
On Fri, Jan 22, 2021 at 12:48:36AM +0200, reimar wrote:
> Author: reimar
> Date: Fri Jan 22 00:48:36 2021
> New Revision: 38229
>
> Log:
> ao_null.c: simplify by using GetTimerMS().
That does not compile on my Ubuntu 18.04 GNU/Linux box:
"""
libao2/ao_null.c: In function 'drain':
libao2/ao_null.c:43:20: error: implicit declaration of function 'GetTimerMS' [-Werror=implicit-function-declaration]
unsigned now = GetTimerMS();
^~~~~~~~~~
cc1: some warnings being treated as errors
Makefile:725: recipe for target 'libao2/ao_null.o' failed
make: *** [libao2/ao_null.o] Error 1
"""
> It is also slightly more portable than using
> gettimeofday directly.
Perhaps not that portable?
Thanks,
Erik
More information about the MPlayer-dev-eng
mailing list