[FFmpeg-devel] parse_date using localtime etc.

Reimar Döffinger Reimar.Doeffinger
Fri Feb 6 15:17:04 CET 2009


I forgot...

On Fri, Feb 06, 2009 at 02:47:05PM +0100, Michael Niedermayer wrote:
> > Or make an av_localtime_r?
> 
> yes, write a clean, short (max 1 page of code) implementation of localtime()

I hope you do not mean one without using localtime, localtime_r or
localtime_s? How is that supposed to be maintainable, you need the data
about all summer-time switching dates, when there were leap seconds and
if the current time zone used them or not and possibly more stuff.
Not to mention that linux, Windows, OSX all use a different format for
time_t.




More information about the ffmpeg-devel mailing list