summaryrefslogtreecommitdiff
path: root/libavformat/mmf.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-24 07:36:02 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-25 14:38:22 -0500
commit0abdb2931719d96dee725e555e9b46b2b2f8a6be (patch)
tree754205c09fa6f9b77b1700cffec28828d539d5e3 /libavformat/mmf.c
parent7e06e0ede3b798f591634b277e8dfa6507b196de (diff)
downloadffmpeg-0abdb2931719d96dee725e555e9b46b2b2f8a6be.tar.gz
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.c5
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 */