diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-24 07:36:02 +0100 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-02-25 14:38:22 -0500 |
commit | 0abdb2931719d96dee725e555e9b46b2b2f8a6be (patch) | |
tree | 754205c09fa6f9b77b1700cffec28828d539d5e3 /libavformat/au.c | |
parent | 7e06e0ede3b798f591634b277e8dfa6507b196de (diff) | |
download | ffmpeg-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/au.c')
-rw-r--r-- | libavformat/au.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/au.c b/libavformat/au.c index 486c514087..9aed1dcaf3 100644 --- a/libavformat/au.c +++ b/libavformat/au.c @@ -28,6 +28,7 @@ */ #include "avformat.h" +#include "avio_internal.h" #include "pcm.h" #include "riff.h" @@ -53,7 +54,7 @@ static int put_au_header(AVIOContext *pb, AVCodecContext *enc) { if(!enc->codec_tag) return -1; - put_tag(pb, ".snd"); /* magic number */ + ffio_wfourcc(pb, ".snd"); /* magic number */ avio_wb32(pb, 24); /* header size */ avio_wb32(pb, AU_UNKNOWN_SIZE); /* data size */ avio_wb32(pb, (uint32_t)enc->codec_tag); /* codec ID */ |