diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-04 20:11:19 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-07 18:07:16 +0200 |
commit | f87b1b373a0df55080c1e6a5874f9a0a75c6fee8 (patch) | |
tree | 9b44dffc615a4832c3d67cc27a6eb13ca8960df1 /libavformat/tcp.c | |
parent | 3d42d4937b029b604da7d53dce16c72e8edde29c (diff) | |
download | ffmpeg-f87b1b373a0df55080c1e6a5874f9a0a75c6fee8.tar.gz |
avio: AVIO_ prefixes for URL_ open flags.
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r-- | libavformat/tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 51074c01d9..c0999832d4 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -156,7 +156,7 @@ static int tcp_read(URLContext *h, uint8_t *buf, int size) TCPContext *s = h->priv_data; int ret; - if (!(h->flags & URL_FLAG_NONBLOCK)) { + if (!(h->flags & AVIO_FLAG_NONBLOCK)) { ret = ff_network_wait_fd(s->fd, 0); if (ret < 0) return ret; @@ -170,7 +170,7 @@ static int tcp_write(URLContext *h, const uint8_t *buf, int size) TCPContext *s = h->priv_data; int ret; - if (!(h->flags & URL_FLAG_NONBLOCK)) { + if (!(h->flags & AVIO_FLAG_NONBLOCK)) { ret = ff_network_wait_fd(s->fd, 1); if (ret < 0) return ret; |