diff options
author | wm4 <wm4@nowhere> | 2014-05-22 22:32:57 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-22 22:36:42 +0200 |
commit | c9b68957c9f79543063dcfa5c8baa417b43e285e (patch) | |
tree | 7fba72eb668195c9570020f920a0a09ae013599b /osdep/win32-console-wrapper.c | |
parent | cb2e784c075bed1a3220cf46dc072171f4f632e5 (diff) | |
download | mpv-c9b68957c9f79543063dcfa5c8baa417b43e285e.tar.bz2 mpv-c9b68957c9f79543063dcfa5c8baa417b43e285e.tar.xz |
timer: improve overflow checks
Probably more correct and better readable. Although the special-casing
of 0x1p63 is weird in terms of readability (the value itself is
INT64_MAX+1, so it's already outside of range, but INT64_MAX is not
exactly representable with double precision).
Diffstat (limited to 'osdep/win32-console-wrapper.c')
0 files changed, 0 insertions, 0 deletions