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

Michael Niedermayer michaelni
Sat Feb 7 13:24:19 CET 2009


On Sat, Feb 07, 2009 at 12:02:03PM +0100, Reimar D?ffinger wrote:
> Hello,
> attached patch would be the first step to get rid of the non-threadsafe
> localtime and gmtime functions.
> It should work on all POSIX and current Windows versions.
> For anything else it would still be a simple hack to add support to
> fallback to the non-threadsafe functions, only libavformat then would
> not be thread-safe which keeps the probability of issues quite low.

fine, though i must add the ifdefs are ugly

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090207/008bf54d/attachment.pgp>



More information about the ffmpeg-devel mailing list