diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2007-07-16 20:28:43 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2007-07-16 20:28:43 +0000 |
commit | 82e4ac2c97a1ed1e89f54b33dba502d5baaa61ab (patch) | |
tree | 7607616f051e15513951898d2d5eb64249e2572a /libavformat/os_support.c | |
parent | c993a831312cd4b6892eff88292f806d93ed4b66 (diff) | |
download | ffmpeg-82e4ac2c97a1ed1e89f54b33dba502d5baaa61ab.tar.gz |
Move av_gettime() back to lavf/utils.c
Originally committed as revision 9706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r-- | libavformat/os_support.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libavformat/os_support.c b/libavformat/os_support.c index 23fc922e84..5a8bb9ecd1 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -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" |