avformat/udp: cosmetics

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
pull/356/head
Limin Wang 5 years ago
parent 2676277b6d
commit 6fb2bdd1d0
  1. 3
      libavformat/udp.c

@ -970,8 +970,7 @@ static int udp_read(URLContext *h, uint8_t *buf, int size)
} else if(nonblock) {
pthread_mutex_unlock(&s->mutex);
return AVERROR(EAGAIN);
}
else {
} else {
/* FIXME: using the monotonic clock would be better,
but it does not exist on all supported platforms. */
int64_t t = av_gettime() + 100000;

Loading…
Cancel
Save