summaryrefslogtreecommitdiff
path: root/libavformat/g723_1.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-11-14 00:53:50 +0100
committerClément Bœsch <ubitux@gmail.com>2011-11-14 07:22:30 +0100
commit53d70a334ad8fa081758e02b285863da276af051 (patch)
treea7e0f775cf11ab908285663f814f44cf5f9f99a1 /libavformat/g723_1.c
parent39edfcc9e8cc107b4e4ba42ba16f745eaada6db8 (diff)
Rename remaining get_buffer to avio_read.
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 5bdd764363..ecf3d0da03 100644
--- a/libavformat/g723_1.c
+++ b/libavformat/g723_1.c
@@ -62,7 +62,7 @@ static int g723_1_read_packet(AVFormatContext *s, AVPacket *pkt)
pkt->duration = 240;
pkt->stream_index = 0;
- ret = get_buffer(s->pb, pkt->data + 1, size - 1);
+ ret = avio_read(s->pb, pkt->data + 1, size - 1);
if (ret < size - 1) {
av_free_packet(pkt);
return ret < 0 ? ret : AVERROR_EOF;