summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-05-18 21:22:09 +0200
committerwm4 <wm4@nowhere>2014-05-18 21:44:45 +0200
commit42a51310c1a72805fe6c01438366354641d6d6ce (patch)
tree681c78acea1564f0f07b42d8b06526711314d560 /video
parent7fec0c630b80831915115c14327cccaf70d37c50 (diff)
downloadmpv-42a51310c1a72805fe6c01438366354641d6d6ce.tar.bz2
mpv-42a51310c1a72805fe6c01438366354641d6d6ce.tar.xz
timer: account for negative time values
It can easily happen that mp_time_us_to_timespec() gets a time in the past, and then the time difference will be negative. Regression introduced in commit f47a4fc3. Also fix an underflow check in mp_add_timeout().
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions