summaryrefslogtreecommitdiff
path: root/libavformat/mmf.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-24 07:36:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-02-26 03:16:04 +0100
commit324429309ee3090b4a08b04ab50be76751a16dbd (patch)
tree9dec7f2f3c87755e6212be22e059afa7793ab601 /libavformat/mmf.c
parent853daff68210e4c2bf72afa2f757f89146e5d8c2 (diff)
lavf: use a new ffio_wfourcc macro instead of put_tag() where possible
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit 0abdb2931719d96dee725e555e9b46b2b2f8a6be)
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 */