summaryrefslogtreecommitdiff
path: root/libavformat/flacenc_header.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-21 19:28:17 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-22 02:44:38 +0100
commite9eb8d0bcecd656292856698f603a841a82cc9c6 (patch)
tree4b601393c2f41791e8db8ea2fe4ad2a1dbae3937 /libavformat/flacenc_header.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/flacenc_header.c')
-rw-r--r--libavformat/flacenc_header.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/flacenc_header.c b/libavformat/flacenc_header.c
index fa7ed48241..389efbd01a 100644
--- a/libavformat/flacenc_header.c
+++ b/libavformat/flacenc_header.c
@@ -39,11 +39,11 @@ int ff_flac_write_header(AVIOContext *pb, AVCodecContext *codec,
/* write "fLaC" stream marker and first metadata block header if needed */
if (format == FLAC_EXTRADATA_FORMAT_STREAMINFO) {
- put_buffer(pb, header, 8);
+ avio_write(pb, header, 8);
}
/* write STREAMINFO or full header */
- put_buffer(pb, codec->extradata, codec->extradata_size);
+ avio_write(pb, codec->extradata, codec->extradata_size);
return 0;
}