diff options
Diffstat (limited to 'libavformat/g723_1.c')
-rw-r--r-- | libavformat/g723_1.c | 2 |
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; |