diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-24 09:36:02 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-25 22:38:22 +0300 |
commit | 0abdb2931719d96dee725e555e9b46b2b2f8a6be (patch) | |
tree | 754205c09fa6f9b77b1700cffec28828d539d5e3 /libavformat/mmf.c | |
parent | 7e06e0ede3b798f591634b277e8dfa6507b196de (diff) |
lavf: use a new ffio_wfourcc macro instead of put_tag() where possible
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavformat/mmf.c')
-rw-r--r-- | libavformat/mmf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/mmf.c b/libavformat/mmf.c index eb48b782d2..76b27dd71e 100644 --- a/libavformat/mmf.c +++ b/libavformat/mmf.c @@ -19,6 +19,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include "avformat.h" +#include "avio_internal.h" #include "pcm.h" #include "riff.h" @@ -70,7 +71,7 @@ static int mmf_write_header(AVFormatContext *s) return -1; } - put_tag(pb, "MMMD"); + ffio_wfourcc(pb, "MMMD"); avio_wb32(pb, 0); pos = ff_start_tag(pb, "CNTI"); avio_w8(pb, 0); /* class */ @@ -91,7 +92,7 @@ static int mmf_write_header(AVFormatContext *s) avio_w8(pb, 2); /* time base d */ avio_w8(pb, 2); /* time base g */ - put_tag(pb, "Atsq"); + ffio_wfourcc(pb, "Atsq"); avio_wb32(pb, 16); mmf->atsqpos = url_ftell(pb); /* Will be filled on close */ |