Rename remaining url_ftell to avio_tell.
authorClément Bœsch <ubitux@gmail.com>
Mon, 14 Nov 2011 00:23:00 +0000 (01:23 +0100)
committerClément Bœsch <ubitux@gmail.com>
Mon, 14 Nov 2011 06:22:31 +0000 (07:22 +0100)
libavformat/g723_1.c
libavformat/mpegts.c

index 56ab3da..09fd614 100644 (file)
@@ -50,7 +50,7 @@ static int g723_1_read_packet(AVFormatContext *s, AVPacket *pkt)
 {
     int size, byte, ret;
 
-    pkt->pos = url_ftell(s->pb);
+    pkt->pos = avio_tell(s->pb);
     byte     = avio_r8(s->pb);
     size     = frame_size[byte & 3];
 
index 29a0f61..118f532 100644 (file)
@@ -2113,7 +2113,7 @@ static int64_t mpegts_get_pcr(AVFormatContext *s, int stream_index,
         if (buf[0] != 0x47) {
             if (mpegts_resync(s) < 0)
                 return AV_NOPTS_VALUE;
-            pos = url_ftell(s->pb);
+            pos = avio_tell(s->pb);
             continue;
         }
         if ((pcr_pid < 0 || (AV_RB16(buf + 1) & 0x1fff) == pcr_pid) &&