summaryrefslogtreecommitdiff
path: root/libavformat/wtv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-20 15:03:29 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-22 02:44:36 +0100
commit90ed2776ea7368f1b6cf07af5f29fd06efbfcd65 (patch)
tree29ba6321e5d9705f2b2b74c9cfe0755fb7a0fe58 /libavformat/wtv.c
parent34bb0575c164dcbe945add0f314d1c1889f9d23e (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/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);