[FFmpeg-cvslog] r9628 - trunk/ffmpeg.c
Alex Beregszaszi
alex
Fri Jul 13 21:25:26 CEST 2007
Hi,
> 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
I would have made this as
#ifdef HAVE_GETRUSAGE
...
#else
return av_gettime();
#endif
--
Alex
More information about the ffmpeg-cvslog
mailing list