Mercurial > libavformat.hg
diff os_support.c @ 2266:c3d2ed2063a0 libavformat
Move av_gettime() back to lavf/utils.c
author | ramiro |
---|---|
date | Mon, 16 Jul 2007 20:28:43 +0000 |
parents | 00cdb026030f |
children | 540b0f8ad437 |
line wrap: on
line diff
--- a/os_support.c Mon Jul 16 20:27:16 2007 +0000 +++ b/os_support.c Mon Jul 16 20:28:43 2007 +0000 @@ -25,8 +25,6 @@ #include <unistd.h> #include <fcntl.h> #endif -#include <sys/time.h> -#include <time.h> #ifndef HAVE_SYS_POLL_H #if defined(__MINGW32__) @@ -36,16 +34,6 @@ #endif #endif -/** - * gets the current time in micro seconds. - */ -int64_t av_gettime(void) -{ - struct timeval tv; - gettimeofday(&tv,NULL); - return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec; -} - #ifdef CONFIG_NETWORK #include "network.h"