aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtsp.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 16:31:43 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:20 +0200
commitbc371aca468c3dd8d1a8cb2b44c99798f232b145 (patch)
tree00455bb9d3db8113fbc18b885deffef20752add8 /libavformat/rtsp.c
parent0589da0aa525e4ba7c554408339fa3e862402af5 (diff)
downloadffmpeg-bc371aca468c3dd8d1a8cb2b44c99798f232b145.tar.gz
avio: make url_read() internal.
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r--libavformat/rtsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index 30deeccf93..cf36814afa 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1594,7 +1594,7 @@ static int udp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st,
rtsp_st = rt->rtsp_streams[i];
if (rtsp_st->rtp_handle) {
if (p[j].revents & POLLIN || p[j+1].revents & POLLIN) {
- ret = url_read(rtsp_st->rtp_handle, buf, buf_size);
+ ret = ffurl_read(rtsp_st->rtp_handle, buf, buf_size);
if (ret > 0) {
*prtsp_st = rtsp_st;
return ret;
@@ -1868,7 +1868,7 @@ static int rtp_read_header(AVFormatContext *s,
goto fail;
while (1) {
- ret = url_read(in, recvbuf, sizeof(recvbuf));
+ ret = ffurl_read(in, recvbuf, sizeof(recvbuf));
if (ret == AVERROR(EAGAIN))
continue;
if (ret < 0)