diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-20 17:03:29 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-22 04:44:36 +0300 |
commit | 90ed2776ea7368f1b6cf07af5f29fd06efbfcd65 (patch) | |
tree | 29ba6321e5d9705f2b2b74c9cfe0755fb7a0fe58 /libavformat/avidec.c | |
parent | 34bb0575c164dcbe945add0f314d1c1889f9d23e (diff) |
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)
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index c83d840189..7eda500422 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -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; |