From 34ff0e2915005964bf9465a3ff3a405c6e45791b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 5 Nov 2011 12:48:02 +0100 Subject: [PATCH] tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK --- libavformat/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);