[FFmpeg-devel] [PATCH] Remove localtime_r from os_support

Ramiro Ribeiro Polla ramiro
Mon Jun 25 00:41:19 CEST 2007


It seems FFmpeg checks for it in configure, provides an implementation 
if it doesn't exist, but this function isn't used anywhere.
grep for localtime_r shows:
configure:    localtime_r
configure:check_func localtime_r
libavformat/os_support.c:struct tm *localtime_r(const time_t *t, struct 
tm *tp)

It seems it was added in 2003 for MinGW, but I couldn't find the exact 
revision. Was it used a long time ago? Is it safe to remove this now?

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: localtime_r.diff
Type: text/x-patch
Size: 988 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070624/17de11b8/attachment.bin>

More information about the ffmpeg-devel mailing list