Re: [MPlayer-cvslog] r38229 - trunk/libao2/ao_null.c

Erik Auerswald <[email protected]>
Newsgroups gmane.comp.video.mplayer.devel
Message-ID <[email protected]>
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
_______________________________________________
MPlayer-dev-eng mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.