diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-03-31 16:40:31 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-04 17:45:20 +0200 |
commit | dce375645945e31687493ebe82a7a89623e49bdc (patch) | |
tree | 2e28cf8a7b9a297545edb73b923f17ebd66c1f0c /libavformat/avio.c | |
parent | bc371aca468c3dd8d1a8cb2b44c99798f232b145 (diff) | |
download | ffmpeg-dce375645945e31687493ebe82a7a89623e49bdc.tar.gz |
avio: make url_read_complete() internal.
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r-- | libavformat/avio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 0e1ebaacdd..4f56286f8d 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -184,6 +184,10 @@ int url_read(URLContext *h, unsigned char *buf, int size) { return ffurl_read(h, buf, size); } +int url_read_complete(URLContext *h, unsigned char *buf, int size) +{ + return ffurl_read_complete(h, buf, size); +} #endif #define URL_SCHEME_CHARS \ @@ -269,7 +273,7 @@ int ffurl_read(URLContext *h, unsigned char *buf, int size) return retry_transfer_wrapper(h, buf, size, 1, h->prot->url_read); } -int url_read_complete(URLContext *h, unsigned char *buf, int size) +int ffurl_read_complete(URLContext *h, unsigned char *buf, int size) { if (h->flags & URL_WRONLY) return AVERROR(EIO); |