summaryrefslogtreecommitdiff
path: root/libavformat/tls.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-11-05 12:48:02 +0100
committerAnton Khirnov <anton@khirnov.net>2011-11-10 11:36:49 +0100
commit34ff0e2915005964bf9465a3ff3a405c6e45791b (patch)
tree25513d78d927e4bfac8d2bf6f828fc3058925867 /libavformat/tls.c
parent3b384502f2950dd8f172060bfa74447a665af6d9 (diff)
tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK
Diffstat (limited to 'libavformat/tls.c')
-rw-r--r--libavformat/tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tls.c b/libavformat/tls.c
index bd73febd4d..f89a717b7a 100644
--- a/libavformat/tls.c
+++ b/libavformat/tls.c
@@ -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);