[FFmpeg-devel] [RFC] avoid non-threadsafe localtime, gmtime

Víctor Paesa wzrlpy
Sat Feb 7 16:21:26 CET 2009


Hi,

Reimar D?ffinger said:
> Hello,
> 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 ?

Regards,
V?ctor






More information about the ffmpeg-devel mailing list