You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK
This commit is contained in:
@@ -91,7 +91,7 @@ static int do_tls_poll(URLContext *h, int ret)
|
|||||||
return AVERROR(EIO);
|
return AVERROR(EIO);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (h->flags & URL_FLAG_NONBLOCK)
|
if (h->flags & AVIO_FLAG_NONBLOCK)
|
||||||
return AVERROR(EAGAIN);
|
return AVERROR(EAGAIN);
|
||||||
while (1) {
|
while (1) {
|
||||||
int n = poll(&p, 1, 100);
|
int n = poll(&p, 1, 100);
|
||||||
|
Reference in New Issue
Block a user