[FFmpeg-devel] [RFC] avoid non-threadsafe localtime, gmtime
Reimar Döffinger
Reimar.Doeffinger
Sat Feb 7 16:34:55 CET 2009
On Sat, Feb 07, 2009 at 04:21:26PM +0100, V?ctor Paesa wrote:
> Reimar D?ffinger said:
> > attached patch would be the first step to get rid of the non-threadsafe
> > localtime and gmtime functions.
>
> Why don't you add localtime_[rs], gmtime_[rs] to the HAVE_LIST in configure
> and use the #ifdef HAVE_WHATEVER in libavformat/utils.c ?
(ignoring that localtime_r is broken, too)
And what then? What to do when they are not available?
More information about the ffmpeg-devel
mailing list