[FFmpeg-cvslog] r9425 - in trunk: configure libavformat/os_support.c
ramiro
subversion
Mon Jun 25 18:18:29 CEST 2007
Author: ramiro
Date: Mon Jun 25 18:18:28 2007
New Revision: 9425
Log:
Remove localtime_r implementation for systems that don't have it.
It is no longer used.
Modified:
trunk/configure
trunk/libavformat/os_support.c
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Mon Jun 25 18:18:28 2007
@@ -668,7 +668,6 @@ HAVE_LIST="
freetype2
imlib2
inet_aton
- localtime_r
lrintf
machine_ioctl_bt848_h
machine_ioctl_meteor_h
@@ -1531,7 +1530,6 @@ check_header byteswap.h
check_header arpa/inet.h
check_func inet_aton
-check_func localtime_r
enabled zlib && check_lib zlib.h zlibVersion -lz || zlib="no"
# ffserver uses poll(),
Modified: trunk/libavformat/os_support.c
==============================================================================
--- trunk/libavformat/os_support.c (original)
+++ trunk/libavformat/os_support.c Mon Jun 25 18:18:28 2007
@@ -58,19 +58,6 @@ int64_t av_gettime(void)
#endif
}
-#if !defined(HAVE_LOCALTIME_R)
-struct tm *localtime_r(const time_t *t, struct tm *tp)
-{
- struct tm *l;
-
- l = localtime(t);
- if (!l)
- return 0;
- *tp = *l;
- return tp;
-}
-#endif /* !defined(HAVE_LOCALTIME_R) */
-
#ifdef CONFIG_NETWORK
#include "network.h"
More information about the ffmpeg-cvslog
mailing list