diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-11-05 12:48:02 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-10 11:36:49 +0100 |
commit | 34ff0e2915005964bf9465a3ff3a405c6e45791b (patch) | |
tree | 25513d78d927e4bfac8d2bf6f828fc3058925867 | |
parent | 3b384502f2950dd8f172060bfa74447a665af6d9 (diff) | |
download | ffmpeg-34ff0e2915005964bf9465a3ff3a405c6e45791b.tar.gz |
tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK
-rw-r--r-- | libavformat/tls.c | 2 |
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); |