Revision bc371aca libavformat/rtsp.c

View differences:

libavformat/rtsp.c
1594 1594
                rtsp_st = rt->rtsp_streams[i];
1595 1595
                if (rtsp_st->rtp_handle) {
1596 1596
                    if (p[j].revents & POLLIN || p[j+1].revents & POLLIN) {
1597
                        ret = url_read(rtsp_st->rtp_handle, buf, buf_size);
1597
                        ret = ffurl_read(rtsp_st->rtp_handle, buf, buf_size);
1598 1598
                        if (ret > 0) {
1599 1599
                            *prtsp_st = rtsp_st;
1600 1600
                            return ret;
......
1868 1868
        goto fail;
1869 1869

  
1870 1870
    while (1) {
1871
        ret = url_read(in, recvbuf, sizeof(recvbuf));
1871
        ret = ffurl_read(in, recvbuf, sizeof(recvbuf));
1872 1872
        if (ret == AVERROR(EAGAIN))
1873 1873
            continue;
1874 1874
        if (ret < 0)

Also available in: Unified diff