[cvs] / xvidcore / examples / xvid_encraw.c Repository:
ViewVC logotype

Diff of /xvidcore/examples/xvid_encraw.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.3, Sun Jan 19 15:10:11 2003 UTC revision 1.1.2.4, Sun Feb 9 06:46:54 2003 UTC
# Line 38  Line 38 
38  #include <stdlib.h>  #include <stdlib.h>
39  #include <string.h>  #include <string.h>
40  #include <math.h>  #include <math.h>
41  #ifndef _MSC_VER  #ifndef WIN32
42  #include <sys/time.h>  #include <sys/time.h>
43  #else  #else
44  #include <time.h>  #include <time.h>
# Line 526  Line 526 
526  /* Return time elapsed time in miliseconds since the program started */  /* Return time elapsed time in miliseconds since the program started */
527  static double msecond()  static double msecond()
528  {  {
529  #ifndef _MSC_VER  #ifndef WIN32
530          struct timeval  tv;          struct timeval  tv;
531          gettimeofday(&tv, 0);          gettimeofday(&tv, 0);
532          return tv.tv_sec*1.0e3 + tv.tv_usec * 1.0e-3;          return tv.tv_sec*1.0e3 + tv.tv_usec * 1.0e-3;

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.4

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4