Revision 28c4741a libavformat/rtsp.c

View differences:

libavformat/rtsp.c
1528 1528
            goto fail;
1529 1529
        lower_transport_mask &= ~(1 << lower_transport);
1530 1530
        if (lower_transport_mask == 0 && err == 1) {
1531
            err = FF_NETERROR(EPROTONOSUPPORT);
1531
            err = AVERROR(EPROTONOSUPPORT);
1532 1532
            goto fail;
1533 1533
        }
1534 1534
    } while (err);
......
1615 1615
            }
1616 1616
#endif
1617 1617
        } else if (n == 0 && ++timeout_cnt >= MAX_TIMEOUTS) {
1618
            return FF_NETERROR(ETIMEDOUT);
1618
            return AVERROR(ETIMEDOUT);
1619 1619
        } else if (n < 0 && errno != EINTR)
1620 1620
            return AVERROR(errno);
1621 1621
    }

Also available in: Unified diff