... | ... |
@@ -2113,7 +2113,7 @@ static int64_t mpegts_get_pcr(AVFormatContext *s, int stream_index, |
2113 | 2113 |
if (buf[0] != 0x47) { |
2114 | 2114 |
if (mpegts_resync(s) < 0) |
2115 | 2115 |
return AV_NOPTS_VALUE; |
2116 |
- pos = url_ftell(s->pb); |
|
2116 |
+ pos = avio_tell(s->pb); |
|
2117 | 2117 |
continue; |
2118 | 2118 |
} |
2119 | 2119 |
if ((pcr_pid < 0 || (AV_RB16(buf + 1) & 0x1fff) == pcr_pid) && |