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/wtv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/wtv.c') diff --git a/libavformat/wtv.c b/libavformat/wtv.c index 6b8a58daeb..ade4a42e1b 100644 --- a/libavformat/wtv.c +++ b/libavformat/wtv.c @@ -468,7 +468,7 @@ static void get_attachment(AVFormatContext *s, AVIOContext *pb, int length) char description[1024]; unsigned int filesize; AVStream *st; - int64_t pos = url_ftell(pb); + int64_t pos = avio_tell(pb); avio_get_str16le(pb, INT_MAX, mime, sizeof(mime)); if (strcmp(mime, "image/jpeg")) @@ -980,7 +980,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap) return ret; avio_seek(wtv->pb, -32, SEEK_CUR); - timeline_pos = url_ftell(s->pb); // save before opening another file + timeline_pos = avio_tell(s->pb); // save before opening another file /* read metadata */ pb = wtvfile_open(s, root, root_size, table_0_entries_legacy_attrib_le16); -- cgit v1.2.3