aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/sapdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-03-31 16:25:10 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-04 17:45:20 +0200
commit0589da0aa525e4ba7c554408339fa3e862402af5 (patch)
tree53560d5cdf77b731064509f295452a2597096e3c /libavformat/sapdec.c
parent62eaaeacb5ac083d9a96e95ec7df12113cd3ca81 (diff)
downloadffmpeg-0589da0aa525e4ba7c554408339fa3e862402af5.tar.gz
avio: make url_open() internal.
Diffstat (limited to 'libavformat/sapdec.c')
-rw-r--r--libavformat/sapdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c
index e79594bc28..c85039f4da 100644
--- a/libavformat/sapdec.c
+++ b/libavformat/sapdec.c
@@ -26,6 +26,7 @@
#include "os_support.h"
#include "internal.h"
#include "avio_internal.h"
+#include "url.h"
#if HAVE_POLL_H
#include <poll.h>
#endif
@@ -84,7 +85,7 @@ static int sap_read_header(AVFormatContext *s,
ff_url_join(url, sizeof(url), "udp", NULL, host, port, "?localport=%d",
port);
- ret = url_open(&sap->ann_fd, url, URL_RDONLY);
+ ret = ffurl_open(&sap->ann_fd, url, URL_RDONLY);
if (ret)
goto fail;