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