From 8d9ac969cb4ac3e3e18f6425703af4d7aec6c513 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 20 Feb 2011 15:03:29 +0100 Subject: avio: rename av_alloc_put_byte -> avio_alloc_context for consistency Signed-off-by: Ronald S. Bultje --- libavformat/wtv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/wtv.c') diff --git a/libavformat/wtv.c b/libavformat/wtv.c index bdccdb3b09..e8b6268db3 100644 --- a/libavformat/wtv.c +++ b/libavformat/wtv.c @@ -236,7 +236,7 @@ static AVIOContext * wtvfile_open_sector(int first_sector, uint64_t length, int return NULL; } - pb = av_alloc_put_byte(buffer, 1 << wf->sector_bits, 0, wf, + pb = avio_alloc_context(buffer, 1 << wf->sector_bits, 0, wf, wtvfile_read_packet, NULL, wtvfile_seek); if (!pb) { av_free(buffer); -- cgit v1.2.3