summaryrefslogtreecommitdiffstats
path: root/core/input/input.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-25 19:56:52 +0200
committerwm4 <wm4@nowhere>2013-05-26 16:44:20 +0200
commitf44a242258c282eb1407899a64571c39d010285b (patch)
tree0582ab64904258650db3f8631ee8628b8745cf8e /core/input/input.c
parente56d8a200d900066c3da571d92733f66ce6a13ab (diff)
downloadmpv-f44a242258c282eb1407899a64571c39d010285b.tar.bz2
mpv-f44a242258c282eb1407899a64571c39d010285b.tar.xz
Replace calls to usec_sleep()
This is just dumb sed replacement to mp_sleep_us(). Also remove the now unused usec_sleep() wrapper.
Diffstat (limited to 'core/input/input.c')
-rw-r--r--core/input/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/input/input.c b/core/input/input.c
index 3d8ba711b7..c9958753cd 100644
--- a/core/input/input.c
+++ b/core/input/input.c
@@ -1436,7 +1436,7 @@ static void read_events(struct input_ctx *ictx, int time)
}
#else
if (time > 0)
- usec_sleep(time * 1000);
+ mp_sleep_us(time * 1000);
#endif