aboutsummaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
authorAnton Khirnov2011-03-31 17:46:00 +0200
committerAnton Khirnov2011-04-04 17:45:20 +0200
commit32a97d4630e8e742cba0344054842ed059dda807 (patch)
tree2825088b87b7a7ad4a09d9770efe387ebd395382 /libavformat/avio.c
parente52a9145c8bf0748ae970e210e528ff56508964c (diff)
avio: make url_filesize() internal.
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index b372ee376d..76d3d4d4d9 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -200,6 +200,10 @@ int url_close(URLContext *h)
{
return ffurl_close(h);
}
+int64_t url_filesize(URLContext *h)
+{
+ return ffurl_size(h);
+}
#endif
#define URL_SCHEME_CHARS \
@@ -338,7 +342,7 @@ int url_exist(const char *filename)
return 1;
}
-int64_t url_filesize(URLContext *h)
+int64_t ffurl_size(URLContext *h)
{
int64_t pos, size;