Mercurial > mplayer.hg
diff libvo/x11_common.c @ 18485:b8ec2d53a206
Simplify condition, since both time and time_last are unsigned.
Patch by Rich Felker.
author | rathann |
---|---|
date | Sat, 13 May 2006 18:34:02 +0000 |
parents | 292337d09af2 |
children | 6233f00d61c8 |
line wrap: on
line diff
--- a/libvo/x11_common.c Sat May 13 18:20:41 2006 +0000 +++ b/libvo/x11_common.c Sat May 13 18:34:02 2006 +0000 @@ -1597,8 +1597,7 @@ unsigned int time = GetTimerMS(); XEvent ev; - if (mDisplay && xs_windowid && - ((time - time_last) > 30000 || (time - time_last) < 0)) + if (mDisplay && xs_windowid && (time - time_last) > 30000) { time_last = time;