diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2007-07-13 16:05:36 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2007-07-13 16:05:36 +0000 |
commit | 7829950cf26af4605f2acff0f076f4c8866f6e57 (patch) | |
tree | ad36e3cb5b29eb2290e10edd21f9d113567da4e9 /ffmpeg.c | |
parent | 66be5b4536f9edebbbfe8146d44767e4f93d15e4 (diff) | |
download | ffmpeg-7829950cf26af4605f2acff0f076f4c8866f6e57.tar.gz |
Collapse getutime into one declaration
Originally committed as revision 9628 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -3105,12 +3105,6 @@ static void opt_pass(const char *pass_str) do_pass = pass; } -#if defined(__MINGW32__) -static int64_t getutime(void) -{ - return av_gettime(); -} -#else static int64_t getutime(void) { #ifdef HAVE_GETRUSAGE @@ -3118,9 +3112,10 @@ static int64_t getutime(void) getrusage(RUSAGE_SELF, &rusage); return (rusage.ru_utime.tv_sec * 1000000LL) + rusage.ru_utime.tv_usec; +#elif defined(__MINGW32__) + return av_gettime(); #endif } -#endif #if defined(CONFIG_FFM_DEMUXER) || defined(CONFIG_FFM_MUXER) extern int ffm_nopts; |