diff options
author | Anton Khirnov | 2011-02-24 07:36:04 +0100 |
---|---|---|
committer | Ronald S. Bultje | 2011-02-25 14:38:56 -0500 |
commit | bbc413f943b53d96aa85fe272ec413c85794019f (patch) | |
tree | 9f6804f11a01261d080691b737b0d6ea98a26f7d /libavformat/amr.c | |
parent | 99f42c27abfe916fa19ac0c18489c8bbf8525406 (diff) |
lavf: replace remaining uses of put_tag with avio_write
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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 { |