Revision bc371aca libavformat/avio.c

View differences:

libavformat/avio.c
180 180
{
181 181
    return ffurl_open(puc, filename, flags);
182 182
}
183
int url_read(URLContext *h, unsigned char *buf, int size)
184
{
185
    return ffurl_read(h, buf, size);
186
}
183 187
#endif
184 188

  
185 189
#define URL_SCHEME_CHARS                        \
......
258 262
    return len;
259 263
}
260 264

  
261
int url_read(URLContext *h, unsigned char *buf, int size)
265
int ffurl_read(URLContext *h, unsigned char *buf, int size)
262 266
{
263 267
    if (h->flags & URL_WRONLY)
264 268
        return AVERROR(EIO);

Also available in: Unified diff