#include "mpeg4ip.h"
#include <sys/timeb.h>
int gettimeofday (struct timeval *t, void *foo)
{
struct _timeb temp;
_ftime(&temp);
t->tv_sec = temp.time;
t->tv_usec = temp.millitm * 1000;
return (0);
}