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

Diff of /xvidcore/examples/xvid_stat.c

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

revision 1.12, Fri Sep 27 18:35:35 2002 UTC revision 1.14, Sat Sep 28 14:27:15 2002 UTC
# Line 277  Line 277 
277   ****************************************************************************/   ****************************************************************************/
278    
279          if (XDIM <= 0 || XDIM >= 2048 || YDIM <=0 || YDIM >= 2048 ) {          if (XDIM <= 0 || XDIM >= 2048 || YDIM <=0 || YDIM >= 2048 ) {
280                  fprintf(stderr,                  fprintf(stderr, "Trying to retreive width and height from PGM header\n");
                                 "Trying to retreive width and height from PGM header\n",  
                                 XDIM,  
                                 YDIM);  
281                  ARG_INPUTTYPE = 1; /* pgm */                  ARG_INPUTTYPE = 1; /* pgm */
282          }          }
283    
# Line 295  Line 292 
292          }          }
293    
294          if ( ARG_FRAMERATE <= 0) {          if ( ARG_FRAMERATE <= 0) {
295                  fprintf(stderr,"Wrong Fraterate %s \n",argv[5]);                  fprintf(stderr,"Wrong Framerate %s \n",argv[5]);
296                  return -1;                  return -1;
297          }          }
298    
# Line 558  Line 555 
555  #ifndef _MSC_VER  #ifndef _MSC_VER
556          struct timeval  tv;          struct timeval  tv;
557          gettimeofday(&tv, 0);          gettimeofday(&tv, 0);
558          return tv.tv_sec*10e3 + tv.tv_usec * 1.0e-3;          return tv.tv_sec*1.0e3 + tv.tv_usec * 1.0e-3;
559  #else  #else
560          clock_t clk;          clock_t clk;
561          clk = clock();          clk = clock();

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.14

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