Rename remaining url_ftell to avio_tell.

This commit is contained in:
Clément Bœsch 2011-11-14 01:23:00 +01:00
parent 055cda8acc
commit 63b796b0dd
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ static int g723_1_read_packet(AVFormatContext *s, AVPacket *pkt)
{ {
int size, byte, ret; int size, byte, ret;
pkt->pos = url_ftell(s->pb); pkt->pos = avio_tell(s->pb);
byte = avio_r8(s->pb); byte = avio_r8(s->pb);
size = frame_size[byte & 3]; size = frame_size[byte & 3];

View File

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