Mercurial > mplayer.hg
view osdep/gettimeofday.c @ 16596:0e73f31bfc6a
Adds encoding setting examples for lavc and XviD.
Remove the references to constant quant in x264 section (Jeff did not like that :-) ).
Put all examples in a table so that it they are easier to read.
author | gpoirier |
---|---|
date | Sun, 25 Sep 2005 16:43:59 +0000 |
parents | 5c639ec8c39e |
children | 08cac43f1e38 |
line wrap: on
line source
#include "../config.h" #ifndef HAVE_GETTIMEOFDAY #include <sys/time.h> #include <sys/timeb.h> void gettimeofday(struct timeval* t,void* timezone) { struct timeb timebuffer; ftime( &timebuffer ); t->tv_sec=timebuffer.time; t->tv_usec=1000*timebuffer.millitm; } #endif