update j2k_lib with new opj type

This commit is contained in:
Mickael Savinaud 2012-09-27 14:50:06 +00:00
parent a540dcd2e2
commit 8363a6ab1e
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@
#endif /* _WIN32 */ #endif /* _WIN32 */
#include "opj_includes.h" #include "opj_includes.h"
double opj_clock(void) { OPJ_FLOAT64 opj_clock(void) {
#ifdef _WIN32 #ifdef _WIN32
/* _WIN32: use QueryPerformance (very accurate) */ /* _WIN32: use QueryPerformance (very accurate) */
LARGE_INTEGER freq , t ; LARGE_INTEGER freq , t ;

View File

@ -43,7 +43,7 @@ The functions in J2K_LIB.C are internal utilities mainly used for timing.
Difference in successive opj_clock() calls tells you the elapsed time Difference in successive opj_clock() calls tells you the elapsed time
@return Returns time in seconds @return Returns time in seconds
*/ */
double opj_clock(void); OPJ_FLOAT64 opj_clock(void);
/* ----------------------------------------------------------------------- */ /* ----------------------------------------------------------------------- */
/*@}*/ /*@}*/