aboutsummaryrefslogtreecommitdiff
path: root/libavformat/sapenc.c
diff options
context:
space:
mode:
authorAnton Khirnov2011-04-04 20:11:19 +0200
committerAnton Khirnov2011-04-07 18:07:16 +0200
commitf87b1b373a0df55080c1e6a5874f9a0a75c6fee8 (patch)
tree9b44dffc615a4832c3d67cc27a6eb13ca8960df1 /libavformat/sapenc.c
parent3d42d4937b029b604da7d53dce16c72e8edde29c (diff)
avio: AVIO_ prefixes for URL_ open flags.
Diffstat (limited to 'libavformat/sapenc.c')
-rw-r--r--libavformat/sapenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/sapenc.c b/libavformat/sapenc.c
index c216342a4c..e675986b7d 100644
--- a/libavformat/sapenc.c
+++ b/libavformat/sapenc.c
@@ -146,7 +146,7 @@ static int sap_write_header(AVFormatContext *s)
"?ttl=%d", ttl);
if (!same_port)
base_port += 2;
- ret = ffurl_open(&fd, url, URL_WRONLY);
+ ret = ffurl_open(&fd, url, AVIO_WRONLY);
if (ret) {
ret = AVERROR(EIO);
goto fail;
@@ -158,7 +158,7 @@ static int sap_write_header(AVFormatContext *s)
ff_url_join(url, sizeof(url), "udp", NULL, announce_addr, port,
"?ttl=%d&connect=1", ttl);
- ret = ffurl_open(&sap->ann_fd, url, URL_WRONLY);
+ ret = ffurl_open(&sap->ann_fd, url, AVIO_WRONLY);
if (ret) {
ret = AVERROR(EIO);
goto fail;