lavf: use a new ffio_wfourcc macro instead of put_tag() where possible

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
Anton Khirnov
2011-02-24 07:36:02 +01:00
committed by Ronald S. Bultje
parent 7e06e0ede3
commit 0abdb29317
12 changed files with 166 additions and 152 deletions

View File

@@ -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);
}