diff options
author | wm4 <wm4@nowhere> | 2013-05-25 19:56:52 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-26 16:44:20 +0200 |
commit | f44a242258c282eb1407899a64571c39d010285b (patch) | |
tree | 0582ab64904258650db3f8631ee8628b8745cf8e /stream/stream.c | |
parent | e56d8a200d900066c3da571d92733f66ce6a13ab (diff) | |
download | mpv-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 'stream/stream.c')
-rw-r--r-- | stream/stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream.c b/stream/stream.c index caf78851c3..27527a422c 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -295,7 +295,7 @@ static int stream_reconnect(stream_t *s) "Connection lost! Attempting to reconnect...\n"); if (retry) - usec_sleep(RECONNECT_SLEEP_MS * 1000); + mp_sleep_us(RECONNECT_SLEEP_MS * 1000); s->eof = 1; stream_reset(s); @@ -630,7 +630,7 @@ void stream_set_interrupt_callback(int (*cb)(struct input_ctx *, int), int stream_check_interrupt(int time) { if (!stream_check_interrupt_cb) { - usec_sleep(time * 1000); + mp_sleep_us(time * 1000); return 0; } return stream_check_interrupt_cb(stream_check_interrupt_ctx, time); |