[MPlayer-dev-eng] [PATCH] get_time

Nicolas George nicolas.george at normalesup.org
Sun Sep 12 19:31:40 CEST 2010


Le sextidi 26 fructidor, an CCXVIII, Dan Oscarsson a écrit :
> A test like time1 < time2 can fail if one of the values have wrapped
> around.

But it works if you write it "(unsigned)time2 - (unsigned)time1 < INT_MAX".
Or maybe I missed what kind of warp you are talking about.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100912/41262c2a/attachment.pgp>


More information about the MPlayer-dev-eng mailing list