[svn] / branches / dev-api-3 / xvidcore / examples / xvid_decraw.c Repository:
ViewVC logotype

Diff of /branches/dev-api-3/xvidcore/examples/xvid_decraw.c

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

revision 795, Sun Jan 19 15:13:47 2003 UTC revision 822, Sun Feb 9 06:46:54 2003 UTC
# Line 19  Line 19 
19   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: xvid_decraw.c,v 1.1.2.3 2003-01-19 15:13:47 edgomez Exp $   * $Id: xvid_decraw.c,v 1.1.2.4 2003-02-09 06:46:54 suxen_drol Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 56  Line 56 
56  #include <stdlib.h>  #include <stdlib.h>
57  #include <string.h>  #include <string.h>
58  #include <math.h>  #include <math.h>
59  #ifndef _MSC_VER  #ifndef WIN32
60  #include <sys/time.h>  #include <sys/time.h>
61  #else  #else
62  #include <time.h>  #include <time.h>
# Line 430  Line 430 
430  static double  static double
431  msecond()  msecond()
432  {  {
433  #ifndef _MSC_VER  #ifndef WIN32
434          struct timeval  tv;          struct timeval  tv;
435          gettimeofday(&tv, 0);          gettimeofday(&tv, 0);
436          return (double)tv.tv_sec*1.0e3 + (double)tv.tv_usec*1.0e-3;          return (double)tv.tv_sec*1.0e3 + (double)tv.tv_usec*1.0e-3;

Legend:
Removed from v.795  
changed lines
  Added in v.822

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