summaryrefslogtreecommitdiff
path: root/libavformat/wtv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-20 15:03:29 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-21 10:23:44 -0500
commit8d9ac969cb4ac3e3e18f6425703af4d7aec6c513 (patch)
tree8333fe0bee0dc759e7691ed503a78a309777ea25 /libavformat/wtv.c
parent484a337cd7cd8bb180c4a1bd3321881f1c874a92 (diff)
avio: rename av_alloc_put_byte -> avio_alloc_context for consistency
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/wtv.c')
-rw-r--r--libavformat/wtv.c2
1 files changed, 1 insertions, 1 deletions
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);