diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-24 07:36:04 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-26 03:16:05 +0100 |
commit | a1b797926179071841b0d01c6befd8d2e2ebe8e6 (patch) | |
tree | 9c0a120d290bf3275d700d59d97e524dcd8635d8 /libavformat/amr.c | |
parent | eac4e4d9a59a146a6c8c1e0cf31472624b79274e (diff) | |
download | ffmpeg-a1b797926179071841b0d01c6befd8d2e2ebe8e6.tar.gz |
lavf: replace remaining uses of put_tag with avio_write
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit bbc413f943b53d96aa85fe272ec413c85794019f)
Diffstat (limited to 'libavformat/amr.c')
-rw-r--r-- | libavformat/amr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c index 3b78ba3659..fd43283a22 100644 --- a/libavformat/amr.c +++ b/libavformat/amr.c @@ -40,11 +40,11 @@ static int amr_write_header(AVFormatContext *s) if (enc->codec_id == CODEC_ID_AMR_NB) { - put_tag(pb, AMR_header); /* magic number */ + avio_write(pb, AMR_header, sizeof(AMR_header) - 1); /* magic number */ } else if(enc->codec_id == CODEC_ID_AMR_WB) { - put_tag(pb, AMRWB_header); /* magic number */ + avio_write(pb, AMRWB_header, sizeof(AMRWB_header) - 1); /* magic number */ } else { |