summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-11-14 01:23:00 +0100
committerClément Bœsch <ubitux@gmail.com>2011-11-14 07:22:31 +0100
commit63b796b0dd06fb35418d98be149fbac6bd75da09 (patch)
treeca3e912fb437dff57ac930463d3d0d837ed8d90e /libavformat
parent055cda8acccad3e7414132cddf0dc4e22b1ae00b (diff)
Rename remaining url_ftell to avio_tell.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/g723_1.c2
-rw-r--r--libavformat/mpegts.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/g723_1.c b/libavformat/g723_1.c
index 56ab3da6ad..09fd6141fc 100644
--- a/libavformat/g723_1.c
+++ b/libavformat/g723_1.c
@@ -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];
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 29a0f612a1..118f5325c7 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -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) &&