Lines Matching refs:read_ret
383 int read_ret; in ff_http_get_shutdown_status() local
384 read_ret = ffurl_read(s->hd, buf, sizeof(buf)); in ff_http_get_shutdown_status()
385 if (read_ret < 0) { in ff_http_get_shutdown_status()
386 ret = read_ret; in ff_http_get_shutdown_status()
1549 int err, new_location, read_ret; in http_read_stream() local
1566 read_ret = http_buf_read(h, buf, size); in http_read_stream()
1567 while (read_ret < 0) { in http_read_stream()
1570 if (read_ret == AVERROR_EXIT) in http_read_stream()
1577 !(s->reconnect_at_eof && read_ret == AVERROR_EOF)) in http_read_stream()
1583 …connect at %"PRIu64" in %d second(s), error=%s.\n", s->off, reconnect_delay, av_err2str(read_ret)); in http_read_stream()
1591 return read_ret; in http_read_stream()
1594 read_ret = http_buf_read(h, buf, size); in http_read_stream()
1597 return read_ret; in http_read_stream()
1737 int read_ret; in http_shutdown() local
1739 read_ret = ffurl_read(s->hd, buf, sizeof(buf)); in http_shutdown()
1741 if (read_ret < 0 && read_ret != AVERROR(EAGAIN)) { in http_shutdown()
1742 av_log(h, AV_LOG_ERROR, "URL read error: %s\n", av_err2str(read_ret)); in http_shutdown()
1743 ret = read_ret; in http_shutdown()