diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-20 11:04:12 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-20 19:05:47 +0100 |
commit | 471fe57e1af2bb37055c93688671c9c79ef9b5cd (patch) | |
tree | 7f44437fe6bd0654feaba193f323b442e60049f9 /libavformat/libnut.c | |
parent | a8858ee11cf4f0ae22e0a9df57bec4ec5dd02f80 (diff) | |
download | ffmpeg-471fe57e1af2bb37055c93688671c9c79ef9b5cd.tar.gz |
avio: rename ByteIOContext to AVIOContext.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit ae628ec1fd7f54c102bf9e667a3edd404b9b9128)
Diffstat (limited to 'libavformat/libnut.c')
-rw-r--r-- | libavformat/libnut.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/libnut.c b/libavformat/libnut.c index 5630bf8c58..7c4378b6c0 100644 --- a/libavformat/libnut.c +++ b/libavformat/libnut.c @@ -46,7 +46,7 @@ static const AVCodecTag nut_tags[] = { #if CONFIG_LIBNUT_MUXER static int av_write(void * h, size_t len, const uint8_t * buf) { - ByteIOContext * bc = h; + AVIOContext * bc = h; put_buffer(bc, buf, len); //put_flush_packet(bc); return len; @@ -54,7 +54,7 @@ static int av_write(void * h, size_t len, const uint8_t * buf) { static int nut_write_header(AVFormatContext * avf) { NUTContext * priv = avf->priv_data; - ByteIOContext * bc = avf->pb; + AVIOContext * bc = avf->pb; nut_muxer_opts_tt mopts = { .output = { .priv = bc, @@ -137,7 +137,7 @@ static int nut_write_packet(AVFormatContext * avf, AVPacket * pkt) { } static int nut_write_trailer(AVFormatContext * avf) { - ByteIOContext * bc = avf->pb; + AVIOContext * bc = avf->pb; NUTContext * priv = avf->priv_data; int i; @@ -172,12 +172,12 @@ static int nut_probe(AVProbeData *p) { } static size_t av_read(void * h, size_t len, uint8_t * buf) { - ByteIOContext * bc = h; + AVIOContext * bc = h; return get_buffer(bc, buf, len); } static off_t av_seek(void * h, long long pos, int whence) { - ByteIOContext * bc = h; + AVIOContext * bc = h; if (whence == SEEK_END) { pos = url_fsize(bc) + pos; whence = SEEK_SET; @@ -187,7 +187,7 @@ static off_t av_seek(void * h, long long pos, int whence) { static int nut_read_header(AVFormatContext * avf, AVFormatParameters * ap) { NUTContext * priv = avf->priv_data; - ByteIOContext * bc = avf->pb; + AVIOContext * bc = avf->pb; nut_demuxer_opts_tt dopts = { .input = { .priv = bc, |