[Ffmpeg-devel] [PATCH] drawtext.c: 02 use gettimeofday()

Gustavo Sverzut Barbieri barbieri
Sun Sep 10 19:48:43 CEST 2006


On 9/10/06, M?ns Rullg?rd <mru at inprovide.com> wrote:
> "Gustavo Sverzut Barbieri" <barbieri at gmail.com> writes:
>
> > This replaces time() with gettimeofday()
>
> Why?  You're still only using second precision.

man 2 time:

Under 4.3BSD, this call is obsoleted by gettimeofday(2).


also, GNU and other systems does issue warnings on its usage


-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri at gmail.com
   MSN: barbieri at gmail.com
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
 Phone:  +1 (347) 624 6296; 08122692 at sip.stanaphone.com
   GPG: 0xB640E1A2 @ wwwkeys.pgp.net




More information about the ffmpeg-devel mailing list