summaryrefslogtreecommitdiff
path: root/libavformat/riff.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/riff.c
parent7e06e0ede3b798f591634b277e8dfa6507b196de (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/riff.c')
-rw-r--r--libavformat/riff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/riff.c b/libavformat/riff.c
index 4cbc2b7f0a..4e21b1c841 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -21,6 +21,7 @@
#include "libavcodec/avcodec.h"
#include "avformat.h"
+#include "avio_internal.h"
#include "riff.h"
#include "libavcodec/bytestream.h"
@@ -321,7 +322,7 @@ const AVCodecTag ff_codec_wav_tags[] = {
#if CONFIG_MUXERS
int64_t ff_start_tag(AVIOContext *pb, const char *tag)
{
- put_tag(pb, tag);
+ ffio_wfourcc(pb, tag);
avio_wl32(pb, 0);
return url_ftell(pb);
}