Revision dce37564 libavformat/avio.c

View differences:

libavformat/avio.c
184 184
{
185 185
    return ffurl_read(h, buf, size);
186 186
}
187
int url_read_complete(URLContext *h, unsigned char *buf, int size)
188
{
189
    return ffurl_read_complete(h, buf, size);
190
}
187 191
#endif
188 192

  
189 193
#define URL_SCHEME_CHARS                        \
......
269 273
    return retry_transfer_wrapper(h, buf, size, 1, h->prot->url_read);
270 274
}
271 275

  
272
int url_read_complete(URLContext *h, unsigned char *buf, int size)
276
int ffurl_read_complete(URLContext *h, unsigned char *buf, int size)
273 277
{
274 278
    if (h->flags & URL_WRONLY)
275 279
        return AVERROR(EIO);

Also available in: Unified diff