From a2704c9712ad35cc22e7e0d8a79b581c07fa383b Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 3 Mar 2011 20:11:45 +0100 Subject: avio: add avio_tell macro as a replacement for url_ftell Signed-off-by: Ronald S. Bultje --- libavformat/aviobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/aviobuf.c') diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 9807c467d4..e273aa536a 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -239,12 +239,12 @@ int url_fskip(AVIOContext *s, int64_t offset) int64_t ret = avio_seek(s, offset, SEEK_CUR); return ret < 0 ? ret : 0; } -#endif int64_t url_ftell(AVIOContext *s) { return avio_seek(s, 0, SEEK_CUR); } +#endif int64_t url_fsize(AVIOContext *s) { -- cgit v1.2.3