Browse Source

tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK

tags/n0.9
Anton Khirnov 14 years ago
parent
commit
34ff0e2915
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/tls.c

+ 1
- 1
libavformat/tls.c View File

@@ -91,7 +91,7 @@ static int do_tls_poll(URLContext *h, int ret)
return AVERROR(EIO);
}
#endif
if (h->flags & URL_FLAG_NONBLOCK)
if (h->flags & AVIO_FLAG_NONBLOCK)
return AVERROR(EAGAIN);
while (1) {
int n = poll(&p, 1, 100);


Loading…
Cancel
Save