summaryrefslogtreecommitdiff
path: root/libavformat/sapdec.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/sapdec.c
parent0589da0aa525e4ba7c554408339fa3e862402af5 (diff)
avio: make url_read() internal.
Diffstat (limited to 'libavformat/sapdec.c')
-rw-r--r--libavformat/sapdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c
index c85039f4da..c8cbde8e44 100644
--- a/libavformat/sapdec.c
+++ b/libavformat/sapdec.c
@@ -93,7 +93,7 @@ static int sap_read_header(AVFormatContext *s,
int addr_type, auth_len;
int pos;
- ret = url_read(sap->ann_fd, recvbuf, sizeof(recvbuf) - 1);
+ ret = ffurl_read(sap->ann_fd, recvbuf, sizeof(recvbuf) - 1);
if (ret == AVERROR(EAGAIN))
continue;
if (ret < 0)
@@ -195,7 +195,7 @@ static int sap_fetch_packet(AVFormatContext *s, AVPacket *pkt)
n = poll(&p, 1, 0);
if (n <= 0 || !(p.revents & POLLIN))
break;
- ret = url_read(sap->ann_fd, recvbuf, sizeof(recvbuf));
+ ret = ffurl_read(sap->ann_fd, recvbuf, sizeof(recvbuf));
if (ret >= 8) {
uint16_t hash = AV_RB16(&recvbuf[2]);
/* Should ideally check the source IP address, too */