int ffurl_read_complete(URLContext *h, unsigned char *buf, int size)

{

    if (h->flags & AVIO_FLAG_WRITE)

        return AVERROR(EIO);

    return retry_transfer_wrapper(h, buf, size, size, h->prot->url_read);

}

int ffurl_read_complete(URLContext *h, unsigned char *buf, int size)

{

    if (h->flags & AVIO_FLAG_WRITE)

        return AVERROR(EIO);

    return retry_transfer_wrapper(h, buf, size, size, h->prot->url_read);

}

    if (h->flags & AVIO_FLAG_WRITE)     if (h->flags & AVIO_FLAG_WRITE)
int FUNC_0(URLContext *VAR_0, unsigned char *VAR_1, int VAR_2)

{

    if (VAR_0->flags & AVIO_FLAG_WRITE)

        return AVERROR(EIO);

    return retry_transfer_wrapper(VAR_0, VAR_1, VAR_2, VAR_2, VAR_0->prot->url_read);

}

int FUNC_0(URLContext *VAR_0, unsigned char *VAR_1, int VAR_2)
{ if (VAR_0->flags & AVIO_FLAG_WRITE)
return AVERROR(EIO); return retry_transfer_wrapper(VAR_0, VAR_1, VAR_2, VAR_2, VAR_0->prot->url_read); }