avio: rename av_alloc_put_byte -> avio_alloc_context for consistency

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 8d9ac969cb4ac3e3e18f6425703af4d7aec6c513)
This commit is contained in:
Anton Khirnov
2011-02-20 15:03:29 +01:00
committed by Michael Niedermayer
parent 34bb0575c1
commit 90ed2776ea
5 changed files with 26 additions and 5 deletions

View File

@ -752,7 +752,7 @@ static int read_gab2_sub(AVStream *st, AVPacket *pkt) {
AVIStream *ast = st->priv_data;
AVInputFormat *sub_demuxer;
AVRational time_base;
AVIOContext *pb = av_alloc_put_byte(pkt->data + 7,
AVIOContext *pb = avio_alloc_context( pkt->data + 7,
pkt->size - 7,
0, NULL, NULL, NULL, NULL);
AVProbeData pd;