diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-21 18:43:01 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-21 19:23:22 +0300 |
commit | b7effd4e8338f6ed5bda630ad7ed0809bf458648 (patch) | |
tree | 53c878f6dd48c313a9bcde1855c2b4e009822c9e /libavformat/au.c | |
parent | f8bed30d8b176fa030f6737765338bb4a2bcabc9 (diff) |
avio: avio_ prefixes for get_* functions
In the name of consistency:
get_byte -> avio_r8
get_<type> -> avio_r<type>
get_buffer -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return
something useful.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/au.c')
-rw-r--r-- | libavformat/au.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/au.c b/libavformat/au.c index fbcbc5ba07..16d53fec9d 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -127,15 +127,15 @@ static int au_read_header(AVFormatContext *s, AVStream *st; /* check ".snd" header */ - tag = get_le32(pb); + tag = avio_rl32(pb); if (tag != MKTAG('.', 's', 'n', 'd')) return -1; - size = get_be32(pb); /* header size */ - get_be32(pb); /* data size */ + size = avio_rb32(pb); /* header size */ + avio_rb32(pb); /* data size */ - id = get_be32(pb); - rate = get_be32(pb); - channels = get_be32(pb); + id = avio_rb32(pb); + rate = avio_rb32(pb); + channels = avio_rb32(pb); codec = ff_codec_get_id(codec_au_tags, id); |