Module: libav
Branch: master
Commit: 34ff0e2915005964bf9465a3ff3a405c6e45791b

Author:    Anton Khirnov <an...@khirnov.net>
Committer: Anton Khirnov <an...@khirnov.net>
Date:      Sat Nov  5 12:48:02 2011 +0100

tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK

---

 libavformat/tls.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/tls.c b/libavformat/tls.c
index bd73feb..f89a717 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);

_______________________________________________
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to