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

Diff of /xvidcore/examples/xvid_decraw.c

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

revision 1.21, Tue Sep 20 11:19:34 2005 UTC revision 1.23, Fri Nov 25 12:07:01 2005 UTC
# Line 497  Line 497 
497  #else  #else
498          clock_t clk;          clock_t clk;
499          clk = clock();          clk = clock();
500          return(clk * 1000 / CLOCKS_PER_SEC);          return(clk * 1000.0 / CLOCKS_PER_SEC);
501  #endif  #endif
502  }  }
503    
# Line 625  Line 625 
625    
626          if (BPP == 1) {          if (BPP == 1) {
627                  int i;                  int i;
628                  fprintf(f, "P5\n#xvid\n%i %i\n255\n", XDIM, YDIM*3/2);                  fprintf(f, "P5\n%i %i\n255\n", XDIM, YDIM*3/2);
629    
630                  fwrite(image, 1, XDIM*YDIM, f);                  fwrite(image, 1, XDIM*YDIM, f);
631    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.23

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