summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
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) &&