[FFmpeg-cvslog] tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK

Anton Khirnov git at videolan.org
Fri Nov 11 02:53:05 CET 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Nov  5 12:48:02 2011 +0100| [34ff0e2915005964bf9465a3ff3a405c6e45791b] | committer: Anton Khirnov

tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=34ff0e2915005964bf9465a3ff3a405c6e45791b
---

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



More information about the ffmpeg-cvslog mailing list