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