1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK

This commit is contained in:
Anton Khirnov 2011-11-05 12:48:02 +01:00
parent 3b384502f2
commit 34ff0e2915

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);