| 547 | } |
| 548 | |
| 549 | int ffurl_read2(void *urlcontext, uint8_t *buf, int size) |
| 550 | { |
| 551 | URLContext *h = urlcontext; |
| 552 | |
| 553 | if (!(h->flags & AVIO_FLAG_READ)) |
| 554 | return AVERROR(EIO); |
| 555 | return retry_transfer_wrapper(h, buf, NULL, size, 1, 1); |
| 556 | } |
| 557 | |
| 558 | int ffurl_read_complete(URLContext *h, unsigned char *buf, int size) |
| 559 | { |
no test coverage detected