Revision f87b1b37 libavformat/sapenc.c

View differences:

libavformat/sapenc.c
146 146
                    "?ttl=%d", ttl);
147 147
        if (!same_port)
148 148
            base_port += 2;
149
        ret = ffurl_open(&fd, url, URL_WRONLY);
149
        ret = ffurl_open(&fd, url, AVIO_WRONLY);
150 150
        if (ret) {
151 151
            ret = AVERROR(EIO);
152 152
            goto fail;
......
158 158

  
159 159
    ff_url_join(url, sizeof(url), "udp", NULL, announce_addr, port,
160 160
                "?ttl=%d&connect=1", ttl);
161
    ret = ffurl_open(&sap->ann_fd, url, URL_WRONLY);
161
    ret = ffurl_open(&sap->ann_fd, url, AVIO_WRONLY);
162 162
    if (ret) {
163 163
        ret = AVERROR(EIO);
164 164
        goto fail;

Also available in: Unified diff