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 ecf3d0da03..56ab3da6ad 100644
--- a/libavformat/g723_1.c
+++ b/libavformat/g723_1.c
@@ -51,7 +51,7 @@ static int g723_1_read_packet(AVFormatContext *s, AVPacket *pkt)
int size, byte, ret;
pkt->pos = url_ftell(s->pb);
- byte = get_byte(s->pb);
+ byte = avio_r8(s->pb);
size = frame_size[byte & 3];
ret = av_new_packet(pkt, size);