Mercurial > mplayer.hg
view stream/stream_dvd_common.h @ 27321:2c0abab6b9b7
Use GetTimerMS() instead of time() with srand.
This is more portable and avoids generating the same random numbers
for a whole second (and on MinGW for some unexplainable reason for
almost 10 seconds).
author | reimar |
---|---|
date | Sat, 26 Jul 2008 21:58:00 +0000 |
parents | c333185b1c3e |
children | e7c989f7a7c9 |
line wrap: on
line source
#ifndef MPLAYER_STREAM_DVD_COMMON_H #define MPLAYER_STREAM_DVD_COMMON_H #include "config.h" #include <inttypes.h> #ifdef USE_DVDREAD_INTERNAL #include <dvdread/ifo_types.h> #else #include <libdvdread/ifo_types.h> #endif int mp_dvdtimetomsec(dvd_time_t *dt); #endif /* MPLAYER_STREAM_DVD_COMMON_H */