diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-20 15:03:29 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-21 10:23:44 -0500 |
commit | 8d9ac969cb4ac3e3e18f6425703af4d7aec6c513 (patch) | |
tree | 8333fe0bee0dc759e7691ed503a78a309777ea25 /libavformat/avidec.c | |
parent | 484a337cd7cd8bb180c4a1bd3321881f1c874a92 (diff) | |
download | ffmpeg-8d9ac969cb4ac3e3e18f6425703af4d7aec6c513.tar.gz |
avio: rename av_alloc_put_byte -> avio_alloc_context for consistency
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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; |