summaryrefslogtreecommitdiff
path: root/libavformat/mmf.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-24 07:36:04 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-26 03:16:05 +0100
commita1b797926179071841b0d01c6befd8d2e2ebe8e6 (patch)
tree9c0a120d290bf3275d700d59d97e524dcd8635d8 /libavformat/mmf.c
parenteac4e4d9a59a146a6c8c1e0cf31472624b79274e (diff)
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/mmf.c')
-rw-r--r--libavformat/mmf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c
index 76b27dd71e..bcb862c4b5 100644
--- a/libavformat/mmf.c
+++ b/libavformat/mmf.c
@@ -79,7 +79,7 @@ static int mmf_write_header(AVFormatContext *s)
avio_w8(pb, 0); /* code type */
avio_w8(pb, 0); /* status */
avio_w8(pb, 0); /* counts */
- put_tag(pb, "VN:libavcodec,"); /* metadata ("ST:songtitle,VN:version,...") */
+ avio_write(pb, "VN:libavcodec,", sizeof("VN:libavcodec,") -1); /* metadata ("ST:songtitle,VN:version,...") */
end_tag_be(pb, pos);
avio_write(pb, "ATR\x00", 4);