Revision bc371aca libavformat/http.c

View differences:

libavformat/http.c
171 171
{
172 172
    int len;
173 173
    if (s->buf_ptr >= s->buf_end) {
174
        len = url_read(s->hd, s->buffer, BUFFER_SIZE);
174
        len = ffurl_read(s->hd, s->buffer, BUFFER_SIZE);
175 175
        if (len < 0) {
176 176
            return AVERROR(EIO);
177 177
        } else if (len == 0) {
......
407 407
    } else {
408 408
        if (!s->willclose && s->filesize >= 0 && s->off >= s->filesize)
409 409
            return AVERROR_EOF;
410
        len = url_read(s->hd, buf, size);
410
        len = ffurl_read(s->hd, buf, size);
411 411
    }
412 412
    if (len > 0) {
413 413
        s->off += len;

Also available in: Unified diff