Commit 34ff0e29 authored by Anton Khirnov's avatar Anton Khirnov

tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK

parent 3b384502
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment