Revision f87b1b37 libavformat/tcp.c

View differences:

libavformat/tcp.c
156 156
    TCPContext *s = h->priv_data;
157 157
    int ret;
158 158

  
159
    if (!(h->flags & URL_FLAG_NONBLOCK)) {
159
    if (!(h->flags & AVIO_FLAG_NONBLOCK)) {
160 160
        ret = ff_network_wait_fd(s->fd, 0);
161 161
        if (ret < 0)
162 162
            return ret;
......
170 170
    TCPContext *s = h->priv_data;
171 171
    int ret;
172 172

  
173
    if (!(h->flags & URL_FLAG_NONBLOCK)) {
173
    if (!(h->flags & AVIO_FLAG_NONBLOCK)) {
174 174
        ret = ff_network_wait_fd(s->fd, 1);
175 175
        if (ret < 0)
176 176
            return ret;

Also available in: Unified diff