Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-21 21:28:17 +0300
committerMichael Niedermayer <michaelni@gmx.at>2011-02-22 04:44:38 +0300
commite9eb8d0bcecd656292856698f603a841a82cc9c6 (patch)
tree4b601393c2f41791e8db8ea2fe4ad2a1dbae3937 /libavformat/daud.c
parente48fe14a54d8360336dbb22f3f787815b57dda47 (diff)
avio: avio: avio_ prefixes for put_* functions
In the name of consistency: put_byte -> avio_w8 put_<type> -> avio_w<type> put_buffer -> avio_write put_nbyte will be made private put_tag will be merged with avio_put_str Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 77eb5504d3b3e1047900382350e0bc5e0bfb16b5)
Diffstat (limited to 'libavformat/daud.c')
-rw-r--r--libavformat/daud.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/daud.c b/libavformat/daud.c
index c4931961ec..39a994b605 100644
--- a/libavformat/daud.c
+++ b/libavformat/daud.c
@@ -57,9 +57,9 @@ static int daud_write_header(struct AVFormatContext *s)
static int daud_write_packet(struct AVFormatContext *s, AVPacket *pkt)
{
- put_be16(s->pb, pkt->size);
- put_be16(s->pb, 0x8010); // unknown
- put_buffer(s->pb, pkt->data, pkt->size);
+ avio_wb16(s->pb, pkt->size);
+ avio_wb16(s->pb, 0x8010); // unknown
+ avio_write(s->pb, pkt->data, pkt->size);
put_flush_packet(s->pb);
return 0;
}