Mercurial > libavcodec.hg
diff fft-test.c @ 1064:b32afefe7d33 libavcodec
* UINTX -> uintx_t INTX -> intx_t
author | kabi |
---|---|
date | Tue, 11 Feb 2003 16:35:48 +0000 |
parents | 0c32f81b42b2 |
children | 1e39f273ecd6 |
line wrap: on
line diff
--- a/fft-test.c Mon Feb 10 22:43:30 2003 +0000 +++ b/fft-test.c Tue Feb 11 16:35:48 2003 +0000 @@ -105,11 +105,11 @@ return (float)((random() & 0xffff) - 32768) / 32768.0; } -INT64 gettime(void) +int64_t gettime(void) { struct timeval tv; gettimeofday(&tv,NULL); - return (INT64)tv.tv_sec * 1000000 + tv.tv_usec; + return (int64_t)tv.tv_sec * 1000000 + tv.tv_usec; } void check_diff(float *tab1, float *tab2, int n) @@ -233,7 +233,7 @@ /* do a speed test */ if (do_speed) { - INT64 time_start, duration; + int64_t time_start, duration; int nb_its; printf("Speed test...\n");