diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-20 11:04:12 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-20 08:37:15 -0500 |
commit | ae628ec1fd7f54c102bf9e667a3edd404b9b9128 (patch) | |
tree | e23e5873e32189d50147e7a73956e326f3f1e407 /libavformat/wav.c | |
parent | 70aa916e4630bcec14439a2d703074b6d4c890a8 (diff) | |
download | ffmpeg-ae628ec1fd7f54c102bf9e667a3edd404b9b9128.tar.gz |
avio: rename ByteIOContext to AVIOContext.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/wav.c')
-rw-r--r-- | libavformat/wav.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/wav.c b/libavformat/wav.c index 4cf138c754..47f0c2e37d 100644 --- a/libavformat/wav.c +++ b/libavformat/wav.c @@ -39,7 +39,7 @@ typedef struct { static int wav_write_header(AVFormatContext *s) { WAVContext *wav = s->priv_data; - ByteIOContext *pb = s->pb; + AVIOContext *pb = s->pb; int64_t fmt, fact; put_tag(pb, "RIFF"); @@ -77,7 +77,7 @@ static int wav_write_header(AVFormatContext *s) static int wav_write_packet(AVFormatContext *s, AVPacket *pkt) { - ByteIOContext *pb = s->pb; + AVIOContext *pb = s->pb; WAVContext *wav = s->priv_data; put_buffer(pb, pkt->data, pkt->size); if(pkt->pts != AV_NOPTS_VALUE) { @@ -91,7 +91,7 @@ static int wav_write_packet(AVFormatContext *s, AVPacket *pkt) static int wav_write_trailer(AVFormatContext *s) { - ByteIOContext *pb = s->pb; + AVIOContext *pb = s->pb; WAVContext *wav = s->priv_data; int64_t file_size; @@ -141,14 +141,14 @@ AVOutputFormat ff_wav_muxer = { #if CONFIG_WAV_DEMUXER -static int64_t next_tag(ByteIOContext *pb, unsigned int *tag) +static int64_t next_tag(AVIOContext *pb, unsigned int *tag) { *tag = get_le32(pb); return get_le32(pb); } /* return the size of the found tag */ -static int64_t find_tag(ByteIOContext *pb, uint32_t tag1) +static int64_t find_tag(AVIOContext *pb, uint32_t tag1) { unsigned int tag; int64_t size; @@ -192,7 +192,7 @@ static int wav_read_header(AVFormatContext *s, int64_t sample_count=0; int rf64; unsigned int tag; - ByteIOContext *pb = s->pb; + AVIOContext *pb = s->pb; AVStream *st; WAVContext *wav = s->priv_data; @@ -263,7 +263,7 @@ static int wav_read_header(AVFormatContext *s, /** Find chunk with w64 GUID by skipping over other chunks * @return the size of the found chunk */ -static int64_t find_guid(ByteIOContext *pb, const uint8_t guid1[16]) +static int64_t find_guid(AVIOContext *pb, const uint8_t guid1[16]) { uint8_t guid[16]; int64_t size; @@ -379,7 +379,7 @@ static int w64_probe(AVProbeData *p) static int w64_read_header(AVFormatContext *s, AVFormatParameters *ap) { int64_t size; - ByteIOContext *pb = s->pb; + AVIOContext *pb = s->pb; WAVContext *wav = s->priv_data; AVStream *st; uint8_t guid[16]; |